MCPcopy Create free account

hub / github.com/Thinkofname/UniverCity / functions

Functions1,740 in github.com/Thinkofname/UniverCity

↓ 2 callersMethodget_component_mut
(&mut self, id: u32)
ecs/src/storage.rs:92
↓ 2 callersMethodget_data
(&self, target: TextureTarget, level: i32, format: TextureFormat, ty: Type, pix: &mut [u8])
src/render/gl.rs:913
↓ 2 callersMethodget_entities
Returns a list of entities that were created when then `ObjectPlacement` belonging to this was applied
server/src/level/object.rs:177
↓ 2 callersMethodget_int
(&mut self, name: &str)
server/src/choice/mod.rs:95
↓ 2 callersMethodget_lowered_region
Gets the currently lowered region if any
src/render/mod.rs:1138
↓ 2 callersMethodget_money
(&self)
server/src/player/handle.rs:1506
↓ 2 callersMethodget_name_key
Returns the resource key pointing used to reference this mission
server/src/common/mod.rs:69
↓ 2 callersMethodget_script_engine
Returns the current scripting engine
src/ui/mod.rs:802
↓ 2 callersMethodhandle_event
( &mut self, evt: &mut event::EventHandler, )
src/instance/base/courses.rs:327
↓ 2 callersMethodhandle_events
Creates a handler that can be used to register and execute event handlers. Events are not consumed until `exec` is called on the handler
server/src/event/mod.rs:35
↓ 2 callersMethodhandle_key_action
(&mut self, action: keybinds::KeyAction)
src/main.rs:696
↓ 2 callersFunctionhandle_packet
(state: &Mutex<UdpSocketState>, send: &mpsc::Sender<(bool, packet::Packet)>, pck: packet::Packet)
server/src/network/udp.rs:579
↓ 2 callersFunctionhandle_reloads
Handles files that need reloading
server/src/script/mod.rs:218
↓ 2 callersFunctionhsl_to_rgb
(h: f64, s: f64, l: f64)
util/src/color.rs:35
↓ 2 callersMethodid
Returns the unique id for this connection
server/src/network/udp.rs:281
↓ 2 callersMethodimage_2d_any
(&self, target: TextureTarget, level: i32, width: u32, height: u32, internal_format: TextureFo
src/render/gl.rs:855
↓ 2 callersMethodinactive
Called when the state stops being active. May be called multiple times but will always have `active` before once between calls. Will be called befor
src/state.rs:469
↓ 2 callersMethodincludes_set
(&self, other: &BitSet)
util/src/bit.rs:64
↓ 2 callersFunctioninit_commandlib
Sets up a interface for scripts to interface with
server/src/mission.rs:146
↓ 2 callersMethodinit_pack
Loads and inits the named pack's scripts. Currently panics when it fails to load
src/script/mod.rs:81
↓ 2 callersFunctioninit_unilib
Provides a basic standard library to the passed state
server/src/script/mod.rs:36
↓ 2 callersMethodinvoke
Invokes the stored function passing the parameters to the function and converting the result to the requested type.
lua/src/lib.rs:1195
↓ 2 callersMethodis_connection_open
Returns whether a connection with the given id exists
server/src/network/mod.rs:81
↓ 2 callersMethodis_placeable_scaled
Returns whether the scaled (* 4) coordinates collide with an object's placement bound
server/src/level/room.rs:811
↓ 2 callersMethodkey_action
Calls the key action event on the active state
src/state.rs:298
↓ 2 callersMethodlayout
(&mut self, manager: &mut Manager<UniverCityUI>, width: u32, height: u32)
src/render/ui/mod.rs:158
↓ 2 callersMethodlerp
(self, other: Self, t: f32)
src/render/animated_model.rs:816
↓ 2 callersMethodlinked_action
Linked actions automatically set the other one when set via the ui but inversed.
src/config/keybinds.rs:175
↓ 2 callersFunctionload_font
(assets: &AssetManager, fonts: &'a mut FNVMap<String, Font>, font_key: &str)
src/render/ui/mod.rs:399
↓ 2 callersMethodload_styles
Loads the named style rules
src/ui/mod.rs:575
↓ 2 callersFunctionlog_panics
Logs panics to a log file before
util/src/lib.rs:94
↓ 2 callersMethodmake_sound
(&mut self, sound: ResourceKey<'_>)
src/audio.rs:296
↓ 2 callersMethodmodified_time
Returns the modified time of the named file if the pack supports it. This is case sensitive and paths should not start with `/` (or any other prefix)
server/src/assets/mod.rs:627
↓ 2 callersMethodmonitor
Resends packets that the other side hasn't ack'd yet.
server/src/network/udp.rs:424
↓ 2 callersMethodmouse_move_ui
Calls the mouse move ui event on the active state. This is called when the UI takes control of the mouse to allow states to release control where pos
src/state.rs:269
↓ 2 callersMethodname
(self)
src/instance/base/stats.rs:378
↓ 2 callersMethodnew
()
src/instance/mod.rs:1044
↓ 2 callersMethodnew
Creates a new server that listens for connects on the passed address
server/src/lib.rs:401
↓ 2 callersMethodnormals
(&'a self)
model/src/main.rs:224
↓ 2 callersMethodopen
Opens the door for 1 second If the door is already open then this will reset the timer back to 1 second
server/src/entity/mod.rs:320
↓ 2 callersMethodpackets
Returns a collection of packets that need to be sent
server/src/network/mod.rs:430
↓ 2 callersMethodparse_request
Handles incoming request packets
server/src/network/mod.rs:425
↓ 2 callersMethodpartial_cmp
(&self, other: &PLoc<T>)
server/src/entity/pathfind.rs:502
↓ 2 callersMethodraw_storage_loc
(&mut self, _name: &str)
server/src/choice/rule.rs:306
↓ 2 callersMethodrebuild_player_list
(&mut self, #[cfg(feature = "steam")] steam: &steamworks::Client, renderer: &mut render::Renderer)
src/multiplayer/mod.rs:407
↓ 2 callersFunctionregister_loaders
Registers the loaders required by the server
server/src/lib.rs:112
↓ 2 callersFunctionregister_systems
Registers systems required by the client
src/entity/mod.rs:36
↓ 2 callersMethodresampled
(self, output: u32)
audio/src/lib.rs:15
↓ 2 callersMethodreverse
(self)
util/src/direction.rs:37
↓ 2 callersMethodroot_transform
(&self)
model/src/main.rs:52
↓ 2 callersMethodrun_internal
(&mut self, container: &mut Container)
ecs/src/lib.rs:607
↓ 2 callersMethodruntime_enable
(mut self, name: &'static str)
src/render/pipeline.rs:708
↓ 2 callersFunctionsave_game
Saves the game's state with the given name in the default location
server/src/saving/mod.rs:145
↓ 2 callersMethodset_boolean
(&self, name: &str, val: bool)
server/src/choice/component.rs:176
↓ 2 callersMethodset_camera
Sets the position of the camera.
src/render/mod.rs:1842
↓ 2 callersMethodset_integer
(&self, name: &str, val: i32)
server/src/choice/component.rs:154
↓ 2 callersMethodset_level
Sets the level currently being rendered by this renderer.
src/render/mod.rs:1104
↓ 2 callersMethodset_placement
(&mut self, placement: TempObjectPlacement)
server/src/level/virt.rs:333
↓ 2 callersMethodset_playlist
Starts playing random songs from the named playlist
src/audio.rs:133
↓ 2 callersMethodset_script_engine
Changes the scripting engine to the passed engine. This clears all active ui elements.
src/ui/mod.rs:761
↓ 2 callersMethodset_source
(&self, src: &str)
src/render/gl.rs:540
↓ 2 callersMethodset_state
(&mut self, state: State)
src/instance/mod.rs:1067
↓ 2 callersMethodset_tile
Lua requirements
server/src/level/room_placement/plan.rs:240
↓ 2 callersMethodset_tile_flags
Sets the flags set on the tile
server/src/level/virt.rs:127
↓ 2 callersMethodset_tile_raw
(&mut self, loc: Location, tile: TileData)
server/src/level/mod.rs:223
↓ 2 callersMethodset_volume_sides
(&mut self, left: f32, right: f32)
audio/src/lib.rs:74
↓ 2 callersMethodsource
(&self)
audio/src/lib.rs:90
↓ 2 callersMethodstandard_direction
The standard 'direction' for the action. The lack of a direction means that its considered normal to allow both `up`(true) and `down`(false) directio
src/config/keybinds.rs:147
↓ 2 callersMethodstop_selection
Ends the selection area and stops drawing it.
src/render/mod.rs:1184
↓ 2 callersMethodstorage_loc
(&mut self, _ty: Type, _name: &str)
server/src/choice/rule.rs:301
↓ 2 callersMethodstorage_ty
(&mut self, _name: &str)
server/src/choice/rule.rs:311
↓ 2 callersFunctiontag_object_entity
( log: &Logger, assets: &assets::AssetManager, key: assets::ResourceKey<'_>, entities: &mut Contai
server/src/level/object.rs:426
↓ 2 callersFunctiontake_screenshot
(log: &Logger, width: u32, height: u32)
src/main.rs:747
↓ 2 callersMethodtick
(&mut self)
server/src/lib.rs:640
↓ 2 callersMethodtimestamp
(&self, name: &str)
server/src/steam.rs:96
↓ 2 callersMethodui_event
Calls the ui event on the active state
src/state.rs:327
↓ 2 callersMethodupdate_level
Updates the internal state of the level for the renderer.
src/render/mod.rs:1116
↓ 2 callersMethodupdate_positioned
(&mut self)
src/audio.rs:336
↓ 2 callersFunctionupdate_room_ui
(log: &Logger, assets: &AssetManager, instance: &mut GameInstance, ui: &ui::Node, room_id: Option<RoomId>)
src/instance/base/edit_room.rs:25
↓ 2 callersMethodupdate_staff
(&mut self, instance: &mut GameInstance)
src/instance/base/staff.rs:501
↓ 2 callersFunctionupdate_window
(state: &mut GameState)
src/main.rs:276
↓ 2 callersFunctionupload_font_data
(texture: &gl::Texture, tex: CharData, atlas: i32, rect: atlas::Rect)
src/render/ui/mod.rs:261
↓ 2 callersMethoduse_program
(&self)
src/render/pipeline.rs:1143
↓ 2 callersMethoduvcoords
(&'a self)
model/src/main.rs:236
↓ 2 callersMethodverts
(&'a self)
model/src/main.rs:212
↓ 2 callersMethodwait_take_image
(&self)
src/render/image.rs:245
↓ 2 callersMethody_range
(self)
util/src/location.rs:115
↓ 1 callersMethodack_entities
Updates the state with the ack (if usable)
server/src/entity/snapshot.rs:1074
↓ 1 callersMethodactive
Called when the state becomes active. May be called multiple times but will always have `inactive` called once between calls (excluding the first tim
src/state.rs:458
↓ 1 callersMethodactive_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/state.rs:459
↓ 1 callersMethodadd_component
(&mut self, id: u32, val: T)
ecs/src/storage.rs:78
↓ 1 callersMethodadded
Called once when initially added. Called at most once.
src/state.rs:440
↓ 1 callersMethodadded_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/state.rs:441
↓ 1 callersMethodand_mask
(mut self, other: EntityMask)
ecs/src/lib.rs:912
↓ 1 callersMethodand_not_mask
(&self, mut mask: EntityMask)
ecs/src/lib.rs:1177
↓ 1 callersMethodanimations
(&'a self)
model/src/main.rs:84
↓ 1 callersMethodapply
Applies the components described by this creator.
server/src/entity/info.rs:277
↓ 1 callersMethodas_lua_table
(&self, lua: &lua::Lua)
src/ui/mod.rs:1200
↓ 1 callersMethodas_u32
(self)
server/src/saving/mod.rs:53
↓ 1 callersMethodas_u8
(self)
server/src/entity/snapshot.rs:962
← previousnext →401–500 of 1,740, ranked by callers