MCPcopy Create free account

hub / github.com/DarkZek/RustCraft / functions

Functions594 in github.com/DarkZek/RustCraft

Methodempty
(pos: Vector2<i32>)
client/src/systems/chunk/nearby_column_cache.rs:26
Methodempty
(pos: Vector3<i32>)
client/src/systems/chunk/nearby_cache.rs:27
Functionexecute_commands
( mut data: ResMut<ConsoleData>, mut send_packet: EventWriter<SendPacket> )
client/src/systems/ui/console/executor.rs:12
Functionexecute_commands
( world: &mut World, state: &mut SystemState<( EventReader<ExecuteCommandRequest>, Eve
server/src/game/commands/mod.rs:37
Methodexists
(&self)
lib/rc_shared/src/atlas.rs:33
Methodexists
(&self)
server/src/dummy_atlas.rs:6
Functionexpire_old
(mut data: ResMut<ConsoleData>)
client/src/systems/ui/console/mod.rs:155
Methodextensions
(&self)
client/src/systems/asset/parsing/pack.rs:37
Methodextensions
(&self)
client/src/systems/asset/parsing/json.rs:30
Methodextensions
(&self)
client/src/systems/asset/parsing/message_pack.rs:30
Methodextensions
(&self)
lib/rc_shared/src/item/loader.rs:30
Methodfinish
(&self, app: &mut App)
client/src/systems/post_processing/mod.rs:77
Methodfmt
(&self, f: &mut Formatter<'_>)
client/src/systems/chunk/flags.rs:18
Methodfmt
(&self, f: &mut Formatter<'_>)
lib/rc_networking/src/bistream/mod.rs:26
Methodfmt
(&self, f: &mut Formatter<'_>)
api/src/error.rs:52
Methodfor_each_mut
(&mut self, mut cb: F)
client/src/systems/chunk/nearby_chunk_map.rs:69
Functionformat_u32
Formats a u32 with American comma placement. # Example ```rust use rc_shared::helpers::format_u32; assert_eq!(String::from("9,000,000"), format_u32(9
lib/rc_shared/src/helpers.rs:14
Methodfragment_shader
()
client/src/systems/asset/material/chunk_extension.rs:20
Methodfragment_shader
()
client/src/systems/asset/material/translucent_chunk_extension.rs:30
Functionfreecam_activation
( keys: Res<ButtonInput<KeyCode>>, mut freecam: ResMut<DebuggingInfo>, mut log: EventWriter<Consol
client/src/systems/debugging/freecam.rs:11
Functionfreecam_movement
( keys: Res<ButtonInput<KeyCode>>, mut query: Query<&mut Transform, With<MainCamera>>, debugging:
client/src/systems/debugging/freecam.rs:25
Methodfrom
(value: InitWasmChunkExecutor)
client/src/systems/chunk/builder/thread/platform/wasm.rs:132
Methodfrom
(direction: &Vector3<i32>)
lib/rc_shared/src/viewable_direction.rs:39
Methodfrom
(value: &GameObjectData)
lib/rc_shared/src/game_objects.rs:20
Methodfrom
(value: Channel)
lib/rc_networking/src/lib.rs:27
Methodfrom
Create Server from config
lib/rc_networking/src/server/mod.rs:74
Methodfrom
(err: E)
api/src/error.rs:43
Methodfrom_block_impl
()
lib/rc_shared/src/block/definition.rs:47
Methodfrom_code
(code: u8)
lib/rc_shared/src/viewable_direction.rs:27
Methodfrom_map
(chunks: &'a HashMap<Vector2<i32>, ChunkColumnData, FnvBuildHasher>, chunk: Vector2<i32>)
client/src/systems/chunk/nearby_column_cache.rs:38
Methodfrom_map
(chunks: &'a HashMap<Vector3<i32>, ChunkData, FnvBuildHasher>, chunk: Vector3<i32>)
client/src/systems/chunk/nearby_cache.rs:39
Methodfrom_partial
(mut partials: Vec<PartialChunkUpdate>)
lib/rc_networking/src/protocol/clientbound/chunk_update.rs:87
Methodfrom_service
(service: &'a ChunkSystem, chunk: Vector2<i32>)
client/src/systems/chunk/nearby_column_cache.rs:33
Methodfrom_service
(service: &'a ChunkSystem, chunk: Vector3<i32>)
client/src/systems/chunk/nearby_cache.rs:34
Methodfrom_slice
(spacial_data: [[[T; S]; S]; S])
client/src/systems/chunk/condensed_spacial_data.rs:23
Methodfrom_stream
( mut send: SendStream, mut recv: RecvStream, err: UnboundedSender<StreamError>, )
lib/rc_networking/src/bistream/native.rs:19
Methodfrom_stream
( mut send: SendStream, mut recv: RecvStream, err: UnboundedSender<StreamError>, )
lib/rc_networking/src/bistream/wasm.rs:18
Methodfrom_translation
(position: Vector3<f32>)
server/src/game/transform.rs:21
Methodfrom_world
(world: &mut World)
client/src/systems/post_processing/pipeline.rs:22
Methodfull
()
lib/rc_shared/src/chunk.rs:30
Methodgenerate
Works in 4 phases Phase 1: Biome Generation This affects all the other phases so it is performed first Phase 2: Greyboxing Stone blocks are placed for
server/src/game/generation/mod.rs:36
Methodgenerate_canvas
(position: Vector3<i32>)
server/src/game/generation/mod.rs:70
Functiongenerate_chunks
( mut system: ResMut<ChunkSystem>, mut world: ResMut<WorldData>, config: Res<ServerConfig>, ge
server/src/systems/chunk/mod.rs:165
Functiongenerate_links
( mut update_event: EventReader<BlockUpdateEvent>, mut chunks: ResMut<WorldData>, )
server/src/game/pipes.rs:9
Methodget
()
client/src/authentication.rs:34
Methodget
(&self, position: Vector3<i32>)
lib/rc_shared/src/relative_chunk_map.rs:22
Methodget
(&self, position: [i32; 2])
lib/rc_shared/src/relative_chunk_flat_map.rs:22
Methodget_by_identifier
(&self, name: &str)
lib/rc_shared/src/block/mod.rs:85
Methodget_chunk
(&self, pos: Vector2<i32>)
client/src/systems/chunk/nearby_column_cache.rs:59
Functionget_chunk_coords
(i: i32)
lib/rc_shared/src/helpers.rs:110
Functionget_chunk_requests
Respond to get chunk requests
server/src/systems/chunk/mod.rs:214
Methodget_definition_by_index
Gets the beginning of the block id's for a block definition
lib/rc_shared/src/block/mod.rs:115
Methodget_definition_index_by_identifier
Gets the beginning of the block id's for a block definition
lib/rc_shared/src/block/mod.rs:106
Methodget_entry
(&self, name: &str)
lib/rc_shared/src/atlas.rs:37
Methodget_entry
(&self, name: &str)
server/src/dummy_atlas.rs:10
Functionget_full_block_faces
( texture: &str )
lib/rc_shared/src/block/blocks/mod.rs:30
Methodget_loc
(&self, loc: Vector3<i32>)
client/src/systems/chunk/lookup.rs:44
Methodget_loot
(&self)
lib/rc_shared/src/block/blocks/wood_log.rs:108
Methodget_loot
(&self)
lib/rc_shared/src/block/blocks/dirt.rs:40
Methodget_loot
(&self)
lib/rc_shared/src/block/blocks/mod.rs:27
Methodget_loot
(&self)
lib/rc_shared/src/block/blocks/stone.rs:40
Methodget_loot
(&self)
lib/rc_shared/src/block/blocks/grass.rs:108
Methodget_mut_loc
(&mut self, loc: Vector3<i32>)
client/src/systems/chunk/lookup.rs:52
Methodget_position_mut_unchecked
(&mut self, world_position: Vector3<i32>)
client/src/systems/chunk/nearby_chunk_map.rs:166
Methodget_position_unchecked
(&self, world_position: Vector3<i32>)
client/src/systems/chunk/nearby_chunk_map.rs:152
Methodget_variants
()
lib/rc_shared/src/block/blocks/wood_log.rs:15
Methodget_variants
()
lib/rc_shared/src/block/blocks/dirt.rs:12
Methodget_variants
()
lib/rc_shared/src/block/blocks/water.rs:16
Methodget_variants
()
lib/rc_shared/src/block/blocks/air.rs:10
Methodget_variants
()
lib/rc_shared/src/block/blocks/pipe.rs:15
Methodget_variants
()
lib/rc_shared/src/block/blocks/sand.rs:12
Methodget_variants
()
lib/rc_shared/src/block/blocks/plaster.rs:12
Methodget_variants
()
lib/rc_shared/src/block/blocks/leaves.rs:15
Methodget_variants
()
lib/rc_shared/src/block/blocks/stone.rs:12
Methodget_variants
()
lib/rc_shared/src/block/blocks/long_grass.rs:15
Methodget_variants
()
lib/rc_shared/src/block/blocks/lamp.rs:16
Methodget_variants
()
lib/rc_shared/src/block/blocks/grass.rs:15
Functiongrab_mouse
This system grabs the mouse when the left mouse button is pressed and releases it when the escape key is pressed
client/src/systems/input/platform/native.rs:12
Functiongrab_mouse
This system grabs the mouse when the left mouse button is pressed and releases it when the escape key is pressed
client/src/systems/input/platform/wasm.rs:30
Functiongrab_mouse_on_play
( mut primary_query: Query<&mut Window, With<PrimaryWindow>>, mut service: ResMut<InputSystem>, )
client/src/systems/input/platform/native.rs:38
Functiongrab_mouse_on_play
Must be user initiated in wasm
client/src/systems/input/platform/wasm.rs:80
Methodhalf_height
(&self)
lib/rc_shared/src/atlas.rs:111
Methodhalf_width
(&self)
lib/rc_shared/src/atlas.rs:107
Functionhandle_disconnections
( mut network_disconnection_events: EventReader<NetworkDisconnectionEvent>, mut system: ResMut<ChunkSy
server/src/systems/chunk/mod.rs:231
Functionhandle_keyboard_input
( mut evr_kbd: EventReader<KeyboardInput>, mut data: ResMut<ConsoleData>, mut visibility: Query<&m
client/src/systems/ui/console/ui.rs:145
Functionhandle_loaded_main_menu_world
( mut events: EventReader<AssetEvent<StaticWorldData>>, assets: ResMut<Assets<StaticWorldData>>, m
client/src/systems/ui/main_menu_chunks.rs:20
Methodhas_flag
(&self, flag: ViewableDirectionBitMap)
lib/rc_shared/src/viewable_direction.rs:107
Functionincrement
()
site/src/stores/counter.ts:7
Methodinto_response
(self)
api/src/error.rs:18
Methodinvert
(&self)
lib/rc_shared/src/atlas.rs:115
Methodinvert
(&self)
lib/rc_shared/src/viewable_direction.rs:57
FunctionisActive
()
site/src/services/apiService.ts:4
Functionitem_spin
(mut query: Query<(&mut Transform, &GameObject)>, time: Res<Time>)
client/src/game/game_object/mod.rs:19
Functionjoin_message
( mut events: EventReader<PlayerSpawnEvent>, users: Res<TransportSystem>, mut packets: EventWriter
server/src/game/join_message.rs:9
Functionjoin_server
( Json(payload): Json<JoinServerBody>, )
api/src/join_server.rs:19
Functionleave_message
( mut events: EventReader<NetworkDisconnectionEvent>, users: Res<TransportSystem>, mut packets: Ev
server/src/game/join_message.rs:41
Functionlerp_color
Linearly interpolates between two colours by `t` within the range 0-1
lib/rc_shared/src/helpers.rs:48
Functionlisten_for_messages
( mut messages: EventReader<ReceivePacket>, mut data: ResMut<ConsoleData>, mut reader: EventReader
client/src/systems/ui/console/mod.rs:159
Methodload
( &'a self, reader: &'a mut Reader<'_>, _settings: &'a Self::Settings, _load_c
client/src/systems/asset/parsing/json.rs:18
Methodload
( &'a self, reader: &'a mut Reader<'_>, _settings: &'a Self::Settings, _load_c
client/src/systems/asset/parsing/message_pack.rs:18
← previousnext →301–400 of 594, ranked by callers