Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bbodi/rustarok
/ functions
Functions
1,032 in github.com/bbodi/rustarok
⨍
Functions
1,032
◇
Types & classes
381
↓ 171 callers
Method
push
(&mut self, packet: FromServerPacket)
client/src/main.rs:144
↓ 131 callers
Method
next_f32
(&mut self)
common/src/grf/binary_reader.rs:64
↓ 118 callers
Method
get
(&self, sound_id: SoundId)
client/src/audio/sound_sys.rs:32
↓ 112 callers
Method
into
(self)
common/src/common.rs:317
↓ 93 callers
Method
now
(&self)
common/src/common.rs:109
↓ 87 callers
Function
v2
(x: f32, y: f32)
common/src/common.rs:121
↓ 86 callers
Method
len
(&self)
common/src/grf/binary_reader.rs:55
↓ 85 callers
Method
set
(&self, gl: &Gl, matrix: &Mat3)
client/src/video.rs:475
↓ 77 callers
Method
add_seconds
(&self, seconds: f32)
common/src/common.rs:238
↓ 53 callers
Method
pos
(self, expected_x: f32, expected_y: f32)
client/src/tests/mod.rs:159
↓ 44 callers
Method
has_already_passed
(&self, system_time: GameTime<Local>)
common/src/common.rs:272
↓ 43 callers
Method
next_i32
(&mut self)
common/src/grf/binary_reader.rs:70
↓ 43 callers
Method
next_u8
(&mut self)
common/src/grf/binary_reader.rs:59
↓ 41 callers
Method
next_u32
(&mut self)
common/src/grf/binary_reader.rs:76
↓ 40 callers
Method
as_str
(&self, index: usize)
common/src/console.rs:128
↓ 39 callers
Method
state
(self, expected_state: CharState)
client/src/tests/mod.rs:115
↓ 36 callers
Function
v3
(x: f32, y: f32, z: f32)
common/src/common.rs:131
↓ 31 callers
Method
add
(mut self, text: &str, typ: ConsoleWordType)
client/src/systems/console_system.rs:811
↓ 28 callers
Method
send
(&self, socket_id: SocketId, packet: O)
common/src/packets/mod.rs:313
↓ 28 callers
Method
string
(&mut self, max_len: u32)
common/src/grf/binary_reader.rs:88
↓ 27 callers
Method
start_measurement
(&mut self, name: &'static str)
client/src/systems/mod.rs:255
↓ 26 callers
Method
assign_skill
(&mut self, skill_key: SkillKey, skill: Skills)
client/src/components/controller.rs:303
↓ 26 callers
Method
color
( &self, target_is_current_user: bool, target_is_friend: bool, damage_was_init
client/src/components/mod.rs:64
↓ 24 callers
Method
add
(&mut self, new_status: StatusEnum)
client/src/components/status/status.rs:831
↓ 22 callers
Method
bind
(&self, gl: &Gl, texture_index: MyGlEnum)
client/src/grf/texture.rs:53
↓ 22 callers
Method
create_char
(&mut self, pos: Vec2, team: Team)
client/src/tests/mod.rs:457
↓ 21 callers
Method
count
for tests
client/src/components/status/status.rs:963
↓ 20 callers
Method
assert_on_character
(&self, char_id: EntityId)
client/src/tests/mod.rs:537
↓ 20 callers
Method
layer
(&mut self, layer: UiLayer2d)
client/src/render/render_command.rs:290
↓ 20 callers
Method
next_u16
(&mut self)
common/src/grf/binary_reader.rs:82
↓ 20 callers
Method
percentage_between
(&self, from: GameTime<Local>, to: GameTime<Local>)
common/src/common.rs:246
↓ 20 callers
Method
screen_pos
(&mut self, x: i32, y: i32)
client/src/render/render_command.rs:280
↓ 20 callers
Method
time
(&self)
client/src/components/skills/skills.rs:117
↓ 19 callers
Method
size
(&mut self, w: u16, h: u16)
client/src/render/render_command.rs:295
↓ 18 callers
Method
load_spr_and_act
( &self, path: &str, texture_id_pool: &mut Vec<TextureId>, reserved_textures:
client/src/grf/asset_async_loader.rs:841
↓ 18 callers
Method
offset
(&mut self, x: i16, y: i16)
client/src/render/render_command.rs:537
↓ 18 callers
Method
run_for
(&mut self, duration: Duration)
client/src/tests/mod.rs:453
↓ 17 callers
Method
is_key_down
(&self, key: Scancode)
client/src/components/controller.rs:332
↓ 17 callers
Method
pos_2d
(&mut self, pos: &Vec2)
client/src/render/render_command.rs:696
↓ 16 callers
Method
pos
(&mut self, pos: &Vector3<f32>)
client/src/render/render_command.rs:702
↓ 16 callers
Method
set_char_target
(&mut self, char_id: EntityId<Local>, target: EntityTarget)
client/src/tests/mod.rs:531
↓ 15 callers
Method
as_int
first argument is the command name!
common/src/console.rs:108
↓ 15 callers
Method
as_slice
(&self)
common/src/grf/binary_reader.rs:115
↓ 15 callers
Method
skip
(&mut self, size: u32)
common/src/grf/binary_reader.rs:105
↓ 14 callers
Method
draw
(&self, gl: &Gl)
client/src/video.rs:189
↓ 14 callers
Method
get_content
(&self, file_name: &str)
common/src/grf/asset_loader.rs:200
↓ 14 callers
Function
v2_to_p2
(input: &Vec2)
common/src/common.rs:167
↓ 13 callers
Method
calculated_attribs
(&self)
common/src/components/char.rs:478
↓ 13 callers
Method
is_key_just_released
(&self, key: Scancode)
client/src/components/controller.rs:341
↓ 13 callers
Function
setup_ecs_world
()
client/src/tests/mod.rs:60
↓ 12 callers
Method
as_usize
(&self)
common/src/packets/mod.rs:266
↓ 12 callers
Method
get_texture
(&self, i: TextureId)
client/src/grf/database.rs:83
↓ 11 callers
Method
add
(&mut self)
client/src/render/render_command.rs:237
↓ 11 callers
Method
as_millis
(&self)
common/src/common.rs:288
↓ 11 callers
Method
gl_use
(&self, gl: &Gl)
client/src/video.rs:629
↓ 11 callers
Method
next
(&mut self, size: u32)
common/src/grf/binary_reader.rs:109
↓ 11 callers
Function
render_single_layer_action
( now: GameTime<Local>, animation: &SpriteRenderDescriptorComponent, sprite_res: &SpriteResource,
client/src/render/render_sys.rs:895
↓ 11 callers
Method
run_frames_n_times
(&mut self, count: u64)
client/src/tests/mod.rs:447
↓ 11 callers
Method
scale
(&mut self, scale: f32)
client/src/render/render_command.rs:547
↓ 10 callers
Method
clear
(&mut self)
client/src/systems/console_system.rs:77
↓ 10 callers
Method
pos
(&self)
common/src/components/char.rs:414
↓ 10 callers
Method
remove
(&mut self, discr: StatusEnumDiscriminants)
client/src/components/status/status.rs:914
↓ 10 callers
Method
rotation_rad
(&mut self, rotation_rad: f32)
client/src/render/render_command.rs:268
↓ 10 callers
Function
v3_to_v2
(input: &Vector3<f32>)
common/src/common.rs:162
↓ 9 callers
Method
as_f32
(&self)
common/src/common.rs:358
↓ 9 callers
Method
assert_events_in_order
(&self)
client/src/tests/mod.rs:544
↓ 9 callers
Method
is_ally_to
(&self, other_team: Team)
common/src/components/char.rs:649
↓ 9 callers
Method
is_dead
(&self)
common/src/components/char.rs:144
↓ 9 callers
Method
to_local_time
( &self, now: GameTime<Local>, server_to_local_time_diff: i64, )
common/src/common.rs:181
↓ 9 callers
Method
y
(&mut self, y: f32)
client/src/render/render_command.rs:707
↓ 8 callers
Method
div
(&self, other: u32)
common/src/common.rs:264
↓ 8 callers
Method
get_command_name
(&self)
common/src/console.rs:104
↓ 8 callers
Method
has_less_than_max_hp
(self)
client/src/tests/mod.rs:138
↓ 8 callers
Method
mouse_pos
(&self)
client/src/components/controller.rs:307
↓ 8 callers
Method
pos
(&self)
client/src/cam.rs:35
↓ 8 callers
Method
rectangle_2d
(&'a mut self)
client/src/render/render_command.rs:162
↓ 8 callers
Function
send_packet
( packet_collector: &mut OutPacketCollector, target: PacketTarget, packet: FromServerPacket, )
server/src/main.rs:625
↓ 8 callers
Method
set_input_and_cursor_x
(&mut self, new_x: usize, new_input: String)
client/src/systems/console_system.rs:86
↓ 8 callers
Method
sprite_2d
(&'a mut self)
client/src/render/render_command.rs:170
↓ 8 callers
Method
sprite_3d
(&'a mut self)
client/src/render/render_command.rs:158
↓ 7 callers
Method
color_rgb
(&mut self, color: &[u8; 3])
client/src/render/render_command.rs:273
↓ 7 callers
Function
create_common_player_entity
( name: String, world: &mut specs::World, typ: CharType, job_id: JobId, pos: Vec2, tea
common/src/components/char.rs:728
↓ 7 callers
Method
exists
(&self, file_name: &str)
common/src/grf/asset_loader.rs:196
↓ 7 callers
Method
has_not_passed_yet
(&self, other: GameTime<Local>)
common/src/common.rs:280
↓ 7 callers
Function
index
(tick: u64)
client/src/systems/snapshot_sys.rs:578
↓ 7 callers
Function
init_vec
(size: u32, def: T, mut init_func: F)
client/src/grf/rsm.rs:8
↓ 7 callers
Method
is_key_just_pressed
(&self, key: Scancode)
client/src/components/controller.rs:345
↓ 7 callers
Method
load_wav
( &mut self, path: &str, asset_loader: &GrfEntryLoader, )
client/src/audio/sound_sys.rs:18
↓ 7 callers
Function
measure_time
(f: F)
common/src/common.rs:114
↓ 7 callers
Function
prepare_entity_id_for_sending
only the server must implement it
server/src/main.rs:124
↓ 7 callers
Method
rectangle_3d
(&'a mut self)
client/src/render/render_command.rs:142
↓ 7 callers
Method
remove_frames_in_every_direction
(&mut self, action_index: usize, range: R)
client/src/grf/act.rs:42
↓ 7 callers
Method
search_event
(&mut self, predicate: F)
client/src/tests/mod.rs:423
↓ 7 callers
Method
subtract
(&self, other: Percentage)
common/src/common.rs:394
↓ 7 callers
Function
v2_to_v3
(input: &Vec2)
common/src/common.rs:157
↓ 6 callers
Method
active_texture
(&self, texture: MyGlEnum)
client/src/my_gl.rs:149
↓ 6 callers
Method
add_millis
(&self, millis: u32)
common/src/common.rs:234
↓ 6 callers
Method
apply_status
(&mut self, apply_status: ApplyStatusComponent)
client/src/tests/mod.rs:492
↓ 6 callers
Method
basic_damage_eq
( mut self, expected_attacker: EntityId<Local>, expected_attacked: EntityId<Local>,
client/src/tests/mod.rs:350
↓ 6 callers
Method
bind_texture
(&self, target: MyGlEnum, texture: GlNativeTextureId)
client/src/my_gl.rs:145
next →
1–100 of 1,032, ranked by callers