MCPcopy Create free account

hub / github.com/Thinkofname/UniverCity / functions

Functions1,740 in github.com/Thinkofname/UniverCity

↓ 13 callersMethoddivisor
(self, divisor: u32)
src/render/gl.rs:695
↓ 13 callersMethodextend
(mut self, amount: i32)
util/src/location.rs:101
↓ 13 callersMethodflag_dirty
Flags the section at the location as dirty
server/src/level/mod.rs:625
↓ 13 callersFunctioninvoke_event
( log: &Logger, events: &mut event::Container, engine: &script::Engine, node:
src/ui/mod.rs:1490
↓ 13 callersMethoditer
Returns an iterator over the table's values
lua/src/lib.rs:966
↓ 13 callersMethodpass
(mut self, name: &'static str, def: D)
src/render/pipeline.rs:414
↓ 13 callersMethodtext
Append a text part to the message based on the current settings
server/src/msg/mod.rs:38
↓ 13 callersMethodtry_recv
Reads a single Packet if available.
server/src/network/mod.rs:231
↓ 12 callersMethodas_string
Returns a lower case string form of the button
src/ui/mod.rs:1179
↓ 12 callersMethodcomponents
(mut self, components: Components)
src/render/pipeline.rs:995
↓ 12 callersMethodhide_tooltip
Hides the tooltip with the given key
src/ui/mod.rs:931
↓ 12 callersMethodraw
(self)
util/src/angle.rs:15
↓ 11 callersMethodadd_state
Adds the state to the front of the state list
src/state.rs:355
↓ 11 callersMethodattachment
(mut self, name: &'static str, def: D)
src/render/pipeline.rs:753
↓ 11 callersMethodattribute
(&mut self, name: &'static str)
src/render/pipeline.rs:1147
↓ 11 callersMethodclear_flags
(mut self, flags: gl::BufferBit)
src/render/pipeline.rs:728
↓ 11 callersMethodclear_value
(mut self, clear_value: [f32; 4])
src/render/pipeline.rs:1003
↓ 11 callersMethodcontext
(&mut self)
src/render/pipeline.rs:71
↓ 11 callersMethodget_tile
Gets the tile at the passed location. If the location is out of bounds then a default tile is returned. Shares a tile map with the passed level
server/src/level/virt.rs:108
↓ 11 callersMethodreply
Replies to the request
server/src/network/mod.rs:359
↓ 11 callersMethodtarget
(mut self, target: AttachTarget)
src/render/pipeline.rs:987
↓ 11 callersMethodty
(mut self, ty: Type)
src/render/pipeline.rs:991
↓ 10 callersMethodas_string
Returns a string that represents both the module and the resource. This can be passed back into `parse` to get the same resource key
server/src/assets/mod.rs:229
↓ 10 callersFunctiondraw_arrays
(ty: DrawType, offset: usize, count: usize)
src/render/gl.rs:234
↓ 10 callersMethodfullscreen
(mut self, def: D)
src/render/pipeline.rs:775
↓ 10 callersMethodget_packs
Returns a vector containing all loaded packs names
server/src/assets/mod.rs:604
↓ 10 callersMethodget_room_owner
Returns the id of the owner of the tile. None is returned if no room owns the tile.
server/src/level/virt.rs:175
↓ 10 callersFunctionget_vars
Helper for accessing vars from any type of entity
server/src/choice/mod.rs:276
↓ 10 callersMethodkey
Returns the resource key that this image is being loaded from.
src/render/image.rs:176
↓ 10 callersMethodread
Returns a read accessor of this component type
ecs/src/lib.rs:1010
↓ 10 callersMethodroom_ids
Returns a collection of room ids
server/src/level/mod.rs:613
↓ 10 callersMethodshader
(self, shader: &'static str)
src/render/pipeline.rs:839
↓ 10 callersMethodwrite
(&self, name: &str)
server/src/saving/filesystem.rs:65
↓ 9 callersMethodborrow
Borrows an immutable reference and makes it accessible to lua for the duration of the call.
lua/src/lib.rs:429
↓ 9 callersFunctioncan_visit
Helper to see whether an entity would be able to visit the location
server/src/level/mod.rs:2082
↓ 9 callersMethodchoose
(&self, rng: &mut impl Rng, vars: &impl VariableAccess)
server/src/choice/mod.rs:199
↓ 9 callersMethodexecute
Executes the rules using the passed variables Returns whether the rules match or not.
server/src/choice/rule.rs:50
↓ 9 callersMethodget_room_owner
(&self, loc: Location)
server/src/level/mod.rs:157
↓ 9 callersMethodrecv
Reads a single Packet if available.
server/src/network/mod.rs:144
↓ 9 callersMethodremove_entity
(&mut self, e: Entity)
ecs/src/lib.rs:202
↓ 9 callersMethodresize
(&self, width: u32, height: u32, global_scale: f32)
src/render/pipeline.rs:956
↓ 9 callersMethodserialize_f64
(self, v: f64)
lua/src/serde_support.rs:523
↓ 9 callersMethodto_lua
(self, _state: &Rc<internal::LuaState>)
lua/src/lib.rs:540
↓ 9 callersMethodvertex_int_pointer
(self, size: i32, ty: Type, stride: i32, offset: i32)
src/render/gl.rs:689
↓ 8 callersMethodborrow_mut
Borrows an mutable reference and makes it accessible to lua for the duration of the call.
lua/src/lib.rs:448
↓ 8 callersMethodderef
(&self)
server/src/assets/arcstr.rs:132
↓ 8 callersMethodensure_send
Sends a single packet to the target. Order of the when recieved isn't guaranteed but the frame will arrive assuming no long-term issues. If the frame
src/instance/mod.rs:982
↓ 8 callersFunctionentry_conv
(snapshots: &snapshot::Snapshots, n: NetworkCourseEntry)
server/src/entity/course/mod.rs:213
↓ 8 callersMethodget
(&mut self, id: u32)
server/src/choice/component.rs:52
↓ 8 callersMethodid
(&self)
server/src/level/virt.rs:319
↓ 8 callersMethodlast
Returns the last position in the path
server/src/entity/pathfind.rs:1200
↓ 8 callersMethodlinear
(mut self)
src/render/pipeline.rs:1011
↓ 8 callersMethodload_collection
(&mut self, config: &ConfigMap, name: KeyCollection, mut def: BindCollection)
src/config/keybinds.rs:512
↓ 8 callersMethodloc
(self)
server/src/entity/pathfind.rs:436
↓ 8 callersMethodname
()
src/ui/layout.rs:40
↓ 8 callersMethodpass_var
(mut self, pipe: &'static str, name: &'static str, v: V)
src/render/pipeline.rs:448
↓ 8 callersMethodprogram_replace
(mut self, name: &'static str, with: &'static str)
src/render/pipeline.rs:743
↓ 8 callersFunctionpush_string
(state: *mut sys::lua_State, s: S)
lua/src/lib.rs:1805
↓ 8 callersMethodremove_collection
Removes the last occurance of the named collection
src/config/keybinds.rs:449
↓ 8 callersMethodremove_type
(self)
server/src/choice/component.rs:93
↓ 8 callersMethodset_wall_info
Sets the infomation about a wall at a location + direction.
server/src/level/virt.rs:155
↓ 8 callersMethodshould_place_wall
Returns the texture to be used for a wall if one should be placed in the direction.
server/src/level/tile.rs:175
↓ 8 callersMethodsize
(self)
src/render/gl.rs:58
↓ 7 callersMethodadd_collection
Causes the keybinds to read keybinds from the passed collection. If the collection does not contain a key then the previous collections will be check
src/config/keybinds.rs:444
↓ 7 callersMethodas_mut_any
(&mut self)
ecs/src/storage.rs:116
↓ 7 callersMethodcapture
Returns a snapshot of the current state
src/state.rs:182
↓ 7 callersMethodcolor
Changes the color of the following parts
server/src/msg/mod.rs:16
↓ 7 callersMethodget
(&mut self)
server/src/choice/rule.rs:619
↓ 7 callersMethodget
Returns the value from the scope with the given name. Returns an error if the value doesn't match the requested type.
lua/src/lib.rs:186
↓ 7 callersMethodget_money
(&self)
src/instance/mod.rs:1075
↓ 7 callersMethodmask
(&self)
ecs/src/lib.rs:1115
↓ 7 callersMethodparse
Parses the passed string into a resource key. Returns `None` if the string doesn't contain a `:` (module) # Example ```rust # use univercity_server
server/src/assets/mod.rs:167
↓ 7 callersFunctionread_string
(r: &mut R)
model/src/lib.rs:15
↓ 7 callersMethodrebuild_path_sections
(&mut self, area: Bound)
server/src/level/mod.rs:1516
↓ 7 callersMethodrebuild_placement_map
(&mut self)
server/src/level/virt.rs:183
↓ 7 callersMethodset_data_range
(&self, target: BufferTarget, data: &[T], start: i32)
src/render/gl.rs:335
↓ 7 callersMethodtakes_focus
Returns whether this state takes full focus from states below it or not.
src/state.rs:433
↓ 7 callersMethodupdate_image
Replaces/creates the named image with the passed data
src/render/mod.rs:983
↓ 7 callersMethodvar
(mut self, name: &'static str, v: V)
src/render/pipeline.rs:443
↓ 7 callersMethodvertex_defines
(mut self, defines: Vec<S>)
src/render/pipeline.rs:1082
↓ 6 callersMethodand
(a: u8, b: u8)
server/src/choice/instruction.rs:126
↓ 6 callersFunctionenable
(flag: Flag)
src/render/gl.rs:150
↓ 6 callersMethodencode
(&self, base: Option<&Self>, w: &mut bitio::Writer<W>)
server/src/assets/mod.rs:288
↓ 6 callersMethodget_room_objects
Returns the objects in the room
server/src/level/mod.rs:1062
↓ 6 callersMethodget_unchecked_component
(&self, id: u32)
ecs/src/storage.rs:164
↓ 6 callersMethodget_unchecked_component_mut
(&mut self, id: u32)
ecs/src/storage.rs:169
↓ 6 callersMethodinto_boxed
(self)
server/src/saving/filesystem.rs:342
↓ 6 callersMethodis_done
Returns whether the room has been fully built
server/src/level/room.rs:883
↓ 6 callersFunctionis_previous_frame
Returns whether the frame id is an old frame and should be ignored. Due to the looping nature of the frame id this uses a threshold to make sure its o
server/src/entity/snapshot.rs:1091
↓ 6 callersMethoditer_mask
(&'a self, mask: &'a EntityMask)
ecs/src/lib.rs:263
↓ 6 callersMethodlength
Returns the 'length' of this table. This is the same as lua's `#` operator. Only returns useful results when the table is structured as an array.
lua/src/lib.rs:951
↓ 6 callersMethodload
(r: R)
audio/src/lib.rs:452
↓ 6 callersFunctionpacket_to_bytes
Attempts to serialize a packet as a vector.
server/src/network/udp.rs:485
↓ 6 callersFunctionpixel_store
(pname: PixelStore, val: i32)
src/render/gl.rs:802
↓ 6 callersMethodplay
(&self, audio: A)
audio/src/lib.rs:150
↓ 6 callersMethodplay_sound
Plays the named sound file
src/audio.rs:290
↓ 6 callersMethodread
(&mut self, buf: &mut [u8])
server/src/assets/mod.rs:747
↓ 6 callersMethodrecv_timeout
Reads a single Packet if available.
server/src/network/mod.rs:240
↓ 6 callersMethodrun
(&self, _em: EntityManager, _: Self::Param)
ecs/src/tests.rs:31
↓ 6 callersMethodscale
(mut self, scale: usize)
src/render/pipeline.rs:738
← previousnext →101–200 of 1,740, ranked by callers