Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thinkofname/UniverCity
/ functions
Functions
1,740 in github.com/Thinkofname/UniverCity
⨍
Functions
1,740
◇
Types & classes
884
Method
mask_for
(&self)
ecs/src/lib.rs:281
Method
matching
(&'a self, vars: &'a impl VariableAccess)
server/src/choice/mod.rs:213
Method
metatable
(t: &lua::TypeBuilder)
src/ui/mod.rs:956
Method
metatable
(t: &lua::TypeBuilder)
src/instance/scripting.rs:42
Method
metatable
(t: &lua::TypeBuilder)
server/src/level/placement.rs:362
Method
metatable
Adds fields to the type's metatable
lua/src/lib.rs:1275
Method
mix
(self, other: A)
audio/src/lib.rs:39
Method
modified_time
(&self, _module: ModuleKey<'_>, _name: &str)
server/src/assets/mod.rs:768
Method
mouse_event
Handles mouse move events
src/ui/mod.rs:679
Method
mouse_move
Called when the mouse moves whilst the state is active Special due to the event spam it would cause
src/state.rs:485
Method
mouse_move
Handles mouse move events
src/ui/mod.rs:700
Method
mouse_move
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState, mouse_pos: (i32, i32))
src/instance/base/mod.rs:668
Method
mouse_move
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState, mouse_pos: (i32, i32))
src/instance/base/edit_room.rs:127
Method
mouse_move_req
(&mut self, req: &mut state::CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameSta
src/instance/base/staff.rs:609
Method
mouse_move_ui
Called when the mouse moves whilst the state is active This is called when the UI takes control of the mouse to allow states to release control where
src/state.rs:498
Method
mouse_move_ui
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState, _mouse_pos: (i32, i32))
src/instance/base/mod.rs:657
Method
move_active_object
Moves the active object to new location. If the location is not valid this returns an error but the object will still be moved it'll just be unplaceab
server/src/level/mod.rs:766
Method
move_active_object
Lua bindings
server/src/level/placement.rs:96
Function
move_cost
()
server/src/level/tile.rs:207
Method
move_tooltip_impl
( tooltip: &Option<Tooltip>, key: &str, x: i32, y: i32, )
src/ui/mod.rs:916
Method
mul
(self, other: Angle)
util/src/angle.rs:110
Method
mul_assign
(&mut self, other: Angle)
util/src/angle.rs:179
Method
mul_f
(a: u8, b: u8)
server/src/choice/instruction.rs:49
Method
mul_i
(a: u8, b: u8)
server/src/choice/instruction.rs:45
Method
multi_player
Creates a game instance that connects to a remote server.
src/instance/mod.rs:216
Method
name
()
src/render/ui/mod.rs:1065
Method
native
Wraps the passed function as a `MethodDesc`
src/ui/mod.rs:1472
Method
needs_verify
()
server/src/network/udp.rs:278
Method
needs_verify
()
server/src/network/steam.rs:73
Method
needs_verify
()
server/src/network/local.rs:30
Method
neg
(self)
server/src/common/money.rs:97
Method
neg
(self)
util/src/angle.rs:128
Method
new
(sample_rate: u32)
audio/src/lib.rs:126
Method
new
(save_type: SaveType, start_func: F)
src/save_file.rs:27
Method
new
()
src/campaign.rs:19
Method
new
Creates a state manager which has the initial passed state
src/state.rs:98
Method
new
()
src/credits.rs:16
Method
new
(log: &Logger, ctx: &mut pipeline::Context<'_>, asset_manager: &AssetManager)
src/render/static_model.rs:54
Method
new
(log: &Logger, assets: AssetManager, global_scale: f32)
src/render/pipeline.rs:39
Method
new
Creates a new renderer instance. This will create a OpenGL context and bind it to the current thread. Only one renderer instance should exist at any g
src/render/mod.rs:159
Method
new
(width: i32, height: i32)
src/render/atlas.rs:17
Method
new
(log: &Logger, ctx: &mut pipeline::Context<'_>)
src/render/icons.rs:39
Method
new
(log: &Logger, asset_manager: &AssetManager, ctx: &mut pipeline::Context<'_>)
src/render/animated_model.rs:92
Method
new
(log: &Logger, asset_manager: &assets::AssetManager, level: &level::Level, ctx: &mut pipeline::Context<'_>)
src/render/terrain/mod.rs:116
Method
new
(ctx: &mut pipeline::Context<'_>, shader: &'static str, attribs: Vec<Attribute>, verts: Vec<V>)
src/render/model/mod.rs:43
Method
new
(log: &Logger, assets: &AssetManager, ctx: &mut pipeline::Context<'_>)
src/render/ui/mod.rs:42
Method
new
Creates a new ui manager that loads the ui descriptions from the passed asset maanger.
src/ui/mod.rs:484
Method
new
(config: ConfirmConfig, reply: F)
src/ui/prompt.rs:47
Method
new
(error: S)
src/multiplayer/dedicated_server.rs:10
Method
new
(room: assets::ResourceKey<'_>)
src/instance/build.rs:55
Method
new
Creates a new base state that will use the passed game instance at the active game.
src/instance/base/mod.rs:86
Method
new
()
src/instance/base/system_menu.rs:10
Method
new
()
src/instance/base/stats.rs:15
Method
new
()
src/instance/base/courses.rs:30
Method
new
()
src/instance/base/staff_list.rs:13
Method
new
()
src/instance/base/settings.rs:14
Method
new
()
src/instance/base/staff.rs:26
Method
new
()
src/instance/base/room.rs:32
Method
new
()
src/instance/base/edit_room.rs:16
Method
new
(target: ecs::Entity)
src/instance/base/entity_info.rs:54
Method
new
(paused: bool)
src/config/mod.rs:183
Method
new
Creates a transformer that will load its settings from a file.
src/config/keybinds.rs:407
Method
new
(paused: bool)
src/config/graphics.rs:28
Method
new
Creates an animated model component set to play the named animation.
src/entity/mod.rs:152
Method
new
Uses the passed storage to access the steam cloud as a filesystem
server/src/steam.rs:62
Method
new
Creates a mission controller that will run the named script.
server/src/mission.rs:23
Method
new
(log: &Logger, players: &[PlayerId])
server/src/spawning.rs:21
Method
new
(lua: &lua::Lua)
server/src/script_room.rs:1085
Method
new
(alloc: BasicAlloc<()>)
server/src/choice/mod.rs:64
Method
new
()
server/src/choice/component.rs:211
Method
new
Returns a new allocator
server/src/choice/rule.rs:340
Method
new
Creates a standard lua scripting engine
server/src/script/mod.rs:244
Method
new
()
server/src/msg/mod.rs:73
Method
new
Creates a native file system that is a view onto the passed folder.
server/src/saving/filesystem.rs:128
Method
new
(log: &Logger, id: S::Id)
server/src/player/handle.rs:81
Method
new
Creates a new container with no events
server/src/event/mod.rs:12
Method
new
Creates a snapshot buffer with the default history size.
server/src/entity/snapshot.rs:71
Method
new
Creates a new pathfinder with the given time limit
server/src/entity/pathfind.rs:61
Method
new
Creates a new `StudentController`
server/src/entity/sys/student.rs:16
Method
new
Creates a new `EntityDispatcher`
server/src/entity/sys/entity.rs:13
Method
new
Creates a component that will make an entity walk into a room.
server/src/entity/sys/room.rs:321
Method
new
Creates a lesson manager preloaded with all listed lessons loaded.
server/src/entity/course/mod.rs:33
Method
new
Creates a new level.
server/src/level/mod.rs:288
Method
new
( log: &Logger, id: room::Id, x: i32, y: i32, w: u32, h: u32, room_bounds: Bound,
server/src/level/virt.rs:41
Method
new
(num_threads: usize)
ecs/src/internal.rs:29
Method
new
Creates a new empty entity container.
ecs/src/lib.rs:178
Method
new
()
ecs/src/storage.rs:72
Method
new
(size: usize)
ecs/src/util/mod.rs:25
Method
new
(angle: f32)
util/src/angle.rs:10
Method
new
Creates a new location for the given coordinates.
util/src/location.rs:16
Method
new
()
util/src/intmap.rs:21
Method
new
Allocates a lua scripting instance
lua/src/lib.rs:56
Method
new_by
Creates a new idle component
server/src/entity/mod.rs:592
Method
new_child_data
()
src/render/ui/mod.rs:1076
Method
new_child_data
()
src/ui/layout.rs:48
Method
new_data
()
src/ui/mod.rs:201
Method
new_function
Creates a function from the given lua source
lua/src/lib.rs:1172
Method
new_nil
Creates a reference to a nil value
lua/src/lib.rs:704
Method
new_raw
Creates a new empty level server. This is normally used by clients as the server normally loads the level for them.
server/src/level/mod.rs:479
Method
new_raw_internal
( log: Logger, asset_manager: &AssetManager, scripting: &E, width: u32, height
server/src/level/mod.rs:486
← previous
next →
1,301–1,400 of 1,740, ranked by callers