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
↓ 1,157 callers
Function
new
(limited_mode: bool)
src/instance/build.rs:683
↓ 413 callers
Method
map
(this: MBRef<'a, T>, mfunc: F)
lua/src/lib.rs:338
↓ 250 callers
Method
clone
(&self)
src/ui/mod.rs:1436
↓ 246 callers
Method
next
(&mut self)
server/src/saving/mod.rs:978
↓ 209 callers
Method
clone
(&self)
server/src/network/mod.rs:322
↓ 175 callers
Method
borrow_mut
Borrows a mutable reference and attaches it to the world.
ecs/src/lib.rs:663
↓ 152 callers
Method
iter
(&self)
server/src/choice/mod.rs:247
↓ 151 callers
Method
borrow
Creates a `ModuleKey` that references the same data as this key.
server/src/assets/mod.rs:101
↓ 142 callers
Method
insert
(&self, k: K, v: V)
lua/src/lib.rs:904
↓ 118 callers
Method
field
Adds the field to the type currently being built
lua/src/lib.rs:1326
↓ 117 callers
Method
add_component
(&mut self, id: u32, _val: T)
server/src/choice/component.rs:215
↓ 114 callers
Method
contains
(self, v: Vector3<F>)
util/src/aabb.rs:12
↓ 108 callers
Method
into_owned
Returns a owned version of the module key. If the module key was already owned this is a no-op. # Example ```rust # use std::collections::HashMap;
server/src/assets/mod.rs:93
↓ 107 callers
Method
borrow
(&self)
src/render/mod.rs:1902
↓ 103 callers
Method
set
Sets the value in the scope with the given name to the passed value.
lua/src/lib.rs:161
↓ 96 callers
Method
emit
Emits the passed event. The event will not be handled until `handle_events` is called.
server/src/event/mod.rs:27
↓ 93 callers
Method
bind
(&self, target: BufferTarget)
src/render/gl.rs:307
↓ 91 callers
Method
get
(&self, time: f32)
src/render/animated_model.rs:793
↓ 77 callers
Method
get_room_info
Returns the placement information of the room with the given id.
server/src/level/mod.rs:684
↓ 70 callers
Method
is_none
Returns true if the current state is `None`
server/src/player/mod.rs:82
↓ 69 callers
Function
parse
(val: &str)
server/src/choice/parse.rs:309
↓ 68 callers
Method
get_component
(&self, _id: u32)
server/src/choice/component.rs:239
↓ 68 callers
Method
program
(mut self, name: &'static str, def: D)
src/render/pipeline.rs:335
↓ 60 callers
Method
collect
(output: &mut Vec<AniSubNode>, map: &mut FNVMap<String, usize>, info: &exmodel::AniNode, parent: Option<usize>
src/render/animated_model.rs:664
↓ 59 callers
Method
or_module
Converts this lazy resource key to a resource key. If this key doesn't have a module then the passed module will be used instead # Example ```rust
server/src/assets/mod.rs:406
↓ 58 callers
Method
uniform
(&mut self, name: &'static str)
src/render/pipeline.rs:1151
↓ 55 callers
Method
enable
(self)
src/render/gl.rs:671
↓ 55 callers
Method
into_iter
(self)
util/src/location.rs:163
↓ 53 callers
Method
module_key
Returns the module key of this key
server/src/assets/mod.rs:185
↓ 49 callers
Method
get
(&self, i: usize)
ecs/src/util/mod.rs:41
↓ 47 callers
Method
get
(&'a self, key: ResourceKey<'b>)
server/src/entity/course/mod.rs:110
↓ 47 callers
Method
vertex_pointer
(self, size: i32, ty: Type, normalized: bool, stride: i32, offset: i32)
src/render/gl.rs:683
↓ 45 callers
Method
in_bounds
(_: &lua::Lua, p: Ref<RefCell<Placer>>, x: i32, y: i32)
server/src/level/placement.rs:290
↓ 44 callers
Method
index
(self)
src/render/gl.rs:701
↓ 42 callers
Method
get_mut
(&mut self, key: K)
util/src/intmap.rs:62
↓ 41 callers
Method
shift
(self, dir: PathDir)
server/src/entity/pathfind.rs:428
↓ 40 callers
Function
lua_pop
(state: *mut sys::lua_State, num: i32)
lua/src/lib.rs:1801
↓ 39 callers
Method
find
(&mut self, width: i32, height: i32)
src/render/atlas.rs:27
↓ 38 callers
Method
remove_node
Removes the passed node from the root node
src/ui/mod.rs:659
↓ 37 callers
Method
add
Adds the pass emote to the list. Creates the list if it doesn't already exist
server/src/entity/mod.rs:499
↓ 34 callers
Method
get_wall_info
Returns the infomation about a wall at a location + direction if it exists otherwise it returns none.
server/src/level/virt.rs:136
↓ 34 callers
Method
with
Runs the passed function like a system
ecs/src/lib.rs:367
↓ 33 callers
Method
create_node
Loads and adds the node as described by the resource.
src/ui/mod.rs:626
↓ 32 callers
Method
attribute_binds
(self, binds: &[(&'static str, u32)])
src/render/pipeline.rs:1120
↓ 32 callers
Method
fragment
(self, name: &'static str)
src/render/pipeline.rs:1095
↓ 32 callers
Method
vertex
(self, name: &'static str)
src/render/pipeline.rs:1069
↓ 31 callers
Method
join
Merges this container with another
server/src/event/mod.rs:19
↓ 30 callers
Method
remove
(&mut self, key: K)
util/src/intmap.rs:68
↓ 29 callers
Method
get_room_info_mut
Returns the placement information of the room with the given id.
server/src/level/mod.rs:690
↓ 29 callers
Method
is_empty
Returns whether the state list is empty or not
src/state.rs:393
↓ 28 callers
Method
set_matrix4
(self, m: &cgmath::Matrix4<f32>)
src/render/gl.rs:642
↓ 27 callers
Method
module
Returns the module name of this key
server/src/assets/mod.rs:75
↓ 25 callers
Method
width
(self)
util/src/location.rs:133
↓ 23 callers
Method
clear
Clears most of the pipeline's resources
src/render/pipeline.rs:93
↓ 23 callers
Method
use_program
(&self)
src/render/gl.rs:449
↓ 22 callers
Method
clone
(&self)
lua/src/lib.rs:1511
↓ 22 callers
Method
resource
Returns the resource of this key
server/src/assets/mod.rs:190
↓ 22 callers
Method
send
Attempts to send a packet to the target. Order of the frames when recieved by the target and whether the data arrives at all isn't guaranteed.
server/src/network/mod.rs:120
↓ 21 callers
Method
as_str
(self)
src/config/keybinds.rs:35
↓ 21 callers
Method
set_data
(&self, target: BufferTarget, data: &[T], usage: BufferUsage)
src/render/gl.rs:328
↓ 21 callers
Method
with_borrows
Starts building a list of borrowed values that will be accessible during the execution of the function called at the end
lua/src/lib.rs:84
↓ 20 callers
Method
is_empty
Returns whether this path is empty
server/src/entity/pathfind.rs:1196
↓ 20 callers
Method
reverse
(self)
server/src/entity/pathfind.rs:551
↓ 20 callers
Method
send
Attempts to send a packet to the target. Order of the frames when recieved by the target and whether the data arrives at all isn't guaranteed.
src/instance/mod.rs:971
↓ 20 callers
Method
set_int
(self, val: i32)
src/render/gl.rs:588
↓ 20 callers
Method
try_room_info
Returns the placement information of the room with the given id.
server/src/level/mod.rs:670
↓ 19 callers
Method
convert
(map: &mut FNVMap<String, usize>, info: &exmodel::AniNode)
src/render/animated_model.rs:656
↓ 19 callers
Method
height
(self)
util/src/location.rs:139
↓ 19 callers
Method
is_valid
(&self, e: Entity)
ecs/src/lib.rs:218
↓ 19 callers
Method
next
(&mut self)
ecs/src/lib.rs:935
↓ 18 callers
Method
ensure_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
server/src/network/mod.rs:135
↓ 18 callers
Method
offset
(self, off: u32)
src/render/gl.rs:664
↓ 18 callers
Method
position
Returns the current position of this sound
src/audio.rs:250
↓ 18 callers
Method
set_bind
(&mut self, bind: BindType, down: Option<KeyAction>, up: Option<KeyAction>)
src/config/keybinds.rs:322
↓ 17 callers
Method
finalize_placement
Finalizes the placement of the room allowing it to be modified with doors and windows and other features.
server/src/level/room_placement/plan.rs:140
↓ 17 callers
Method
offset
(self)
server/src/entity/pathfind.rs:539
↓ 17 callers
Method
set_mouse_sprite
Sets the sprite rendered at the mouse position
src/render/mod.rs:1814
↓ 16 callers
Method
flag
(self, flag: Flag)
src/render/pipeline.rs:798
↓ 16 callers
Method
fragment_defines
(mut self, defines: Vec<S>)
src/render/pipeline.rs:1108
↓ 16 callers
Method
mouse_to_level
Converts mouse coordinates to a location in the level.
src/render/mod.rs:1773
↓ 16 callers
Method
open_from_pack
Opens the named asset from the named pack This is case sensitive and paths should not start with `/` (or any other prefix). This does not support com
server/src/assets/mod.rs:614
↓ 15 callers
Method
add
Adds the passed function to the system collection. The functions take at least one parameter, a `EntityManager` reference. This provides a interface
ecs/src/lib.rs:583
↓ 15 callers
Method
as_str
Returns a displayable string of this grade
server/src/entity/mod.rs:714
↓ 15 callers
Method
events
Returns the event container
src/ui/mod.rs:754
↓ 15 callers
Method
get_wall_info
(&self, loc: Location, dir: Direction)
server/src/level/mod.rs:163
↓ 15 callers
Method
is_invalid
(self)
ecs/src/lib.rs:426
↓ 15 callers
Function
map
(v: Option<WallInfo>)
server/src/level/mod.rs:2097
↓ 15 callers
Method
split
(self, _log: &Logger)
server/src/network/udp.rs:285
↓ 14 callers
Function
active_texture
(id: u32)
src/render/gl.rs:791
↓ 14 callers
Method
enabled
(mut self, enabled: bool)
src/render/pipeline.rs:703
↓ 14 callers
Method
free
(&mut self, id: usize)
server/src/choice/rule.rs:632
↓ 14 callers
Method
get_entity_by_id
Returns the entity with the given network id (if any)
server/src/entity/snapshot.rs:110
↓ 14 callers
Method
input
(mut self, uniform: &'static str, pass: &'static str, name: &'static str)
src/render/pipeline.rs:866
↓ 14 callers
Method
new_entity
(&mut self)
ecs/src/lib.rs:193
↓ 14 callers
Method
request
Queues a request to be sent
server/src/network/mod.rs:435
↓ 14 callers
Method
set
(&mut self, i: usize, v: bool)
ecs/src/util/mod.rs:30
↓ 14 callers
Function
timetable_conv
(snapshots: &snapshot::Snapshots, n: [NetworkCourseEntry; 4])
server/src/entity/course/mod.rs:227
↓ 13 callers
Method
add_component
(&mut self, e: Entity, val: T)
ecs/src/lib.rs:307
↓ 13 callers
Method
and_then_into
(self, f: F)
util/src/result.rs:10
↓ 13 callers
Method
build
Builds the message
server/src/msg/mod.rs:55
next →
1–100 of 1,740, ranked by callers