MCPcopy Create free account

hub / github.com/clockworklabs/BitCraftPublic / functions

Functions3,290 in github.com/clockworklabs/BitCraftPublic

↓ 5 callersFunctionpurge_inventory_from
(ctx: &ReducerContext, mut inventory: InventoryState, item_id: i32, is_cargo: bool)
BitCraftServer/packages/game/src/game/handlers/admin/admin_delete_all_items_of_type.rs:71
↓ 5 callersFunctionreduce
(ctx: &ReducerContext, title: String, message: String, sign_out: bool)
BitCraftServer/packages/game/src/game/handlers/admin/admin_broadcast.rs:18
↓ 5 callersMethodremove_at
(&mut self, pocket_index: usize)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:569
↓ 5 callersFunctionsanitize_user_inputs
Sample Input -> Sample Output a<style=color>b -> ab <#ff0000>Text</color>
BitCraftServer/packages/global_module/src/game/reducer_helpers/user_text_input_helpers.rs:52
↓ 5 callersFunctionsend_message
(ctx: &ReducerContext, region_id: u8)
BitCraftServer/packages/global_module/src/inter_module/player_create.rs:10
↓ 5 callersMethodset_location
(&mut self, location: OffsetCoordinatesSmall)
BitCraftServer/packages/game/src/game/entities/location.rs:36
↓ 5 callersMethodupdate
(self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/dropped_inventory_state.rs:74
↓ 5 callersFunctionupdate_health_and_check_death
( ctx: &ReducerContext, _terrain_cache: &mut TerrainChunkCache, mut health_state: HealthState,
BitCraftServer/packages/game/src/game/reducer_helpers/health_helpers.rs:29
↓ 5 callersMethodvalidate_distance
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/trade_session_state.rs:10
↓ 5 callersFunctionworld_loaded
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/lib.rs:261
↓ 5 callersMethodworld_position
(&self)
BitCraftServer/packages/game/src/game/world_gen/world_generation/entity_node.rs:36
↓ 5 callersFunctionwrite_contents
(contents,file_path,encoding,newline_type)
BitCraftServer/packages/game/utility/refactor_client.py:45
↓ 5 callersFunctionwrite_if_file_changed
(path: &str, content: String)
BitCraftServer/packages/global_module/build_shared.rs:369
↓ 4 callersMethodadd_energy
(&mut self, ctx: &ReducerContext, energy: i32, params: Option<ParametersDesc>)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:53
↓ 4 callersMethodadd_multiple
(&mut self, ctx: &ReducerContext, item_stacks: &Vec<ItemStack>)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:216
↓ 4 callersMethodadd_stamina_delta_clamped
(&mut self, delta: f32, min: f32, max: f32, now: Timestamp)
BitCraftServer/packages/game/src/game/entities/stamina_state.rs:21
↓ 4 callersFunctionallow_sign_in
(ctx: &ReducerContext, mut user_state: UserState)
BitCraftServer/packages/game/src/game/handlers/queue/player_queue.rs:92
↓ 4 callersMethodbiome
(&self)
BitCraftServer/packages/game/src/game/entities/terrain_cell.rs:18
↓ 4 callersFunctionbuilding_id_at_coordinates
(ctx: &ReducerContext, coordinates: &SmallHexTile)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:85
↓ 4 callersFunctioncan_run_cheat
(ctx: &ReducerContext, identity: &Identity, cheat_type: CheatType)
BitCraftServer/packages/global_module/src/game/handlers/cheats/cheat_type.rs:15
↓ 4 callersMethodcancel_session_and_update
(mut self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/trade_session_state.rs:27
↓ 4 callersMethodcancel_siege
(self, ctx: &ReducerContext)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:812
↓ 4 callersMethodconvert
Change ownership of an EmpireNode.
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:98
↓ 4 callersFunctioncreate_building_claim
(ctx: &ReducerContext, building_entity_id: u64, neutral: bool)
BitCraftServer/packages/game/src/game/reducer_helpers/building_helpers.rs:237
↓ 4 callersFunctioncreate_nodes
()
BitCraftServer/packages/game/src/game/generic/pathfinder_tests.rs:4
↓ 4 callersMethodcreate_trade_orders
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/npc_state.rs:66
↓ 4 callersFunctionday_duration
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/agents/day_night_agent.rs:83
↓ 4 callersMethoddelete_trade_orders
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/npc_state.rs:116
↓ 4 callersMethoddiscover_achievement
(&mut self, ctx: &ReducerContext, achievement_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:334
↓ 4 callersMethoddiscover_craft
(&mut self, ctx: &ReducerContext, craft_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:812
↓ 4 callersMethoddiscover_deployable
(&mut self, ctx: &ReducerContext, deployable_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:893
↓ 4 callersMethoddiscover_enemy
(&mut self, ctx: &ReducerContext, enemy_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:972
↓ 4 callersMethoddiscover_npc
(&mut self, ctx: &ReducerContext, npc_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1291
↓ 4 callersMethoddiscover_paving
(&mut self, ctx: &ReducerContext, paving_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1370
↓ 4 callersMethoddiscover_pillar_shaping
(&mut self, ctx: &ReducerContext, pillar_shaping_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1450
↓ 4 callersFunctiondismount_deployable_and_set_deployable_position
( ctx: &ReducerContext, player_entity_id: u64, skip_deployable_icon: bool, deployable_coordina
BitCraftServer/packages/game/src/game/reducer_helpers/deployable_helpers.rs:441
↓ 4 callersMethoddistance_to_footprint
(&self, footprint: Vec<(SmallHexTile, FootprintType)>)
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:264
↓ 4 callersFunctionensure_signed_in
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/game_state/mod.rs:82
↓ 4 callersMethodevaluate_construction_discoveries
(&mut self, ctx: &ReducerContext, recipes: I)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:344
↓ 4 callersMethodevaluate_craft_discoveries
(&mut self, ctx: &ReducerContext, recipes: I)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:286
↓ 4 callersMethodevaluate_paving_discoveries
(&mut self, ctx: &ReducerContext, recipes: I)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:541
↓ 4 callersMethodevaluate_pillar_shaping_discoveries
(&mut self, ctx: &ReducerContext, recipes: I)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:404
↓ 4 callersMethodevaluate_resource_placement_discoveries
(&mut self, ctx: &ReducerContext, recipes: I)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:462
↓ 4 callersMethodfix_durability
(&self)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:200
↓ 4 callersMethodfull_maintenance
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:453
↓ 4 callersMethodget_final_crit_multiplier
(&self, ctx: &ReducerContext, skill: Option<SkillType>)
BitCraftServer/packages/game/src/game/entities/character_stats.rs:70
↓ 4 callersFunctionget_partial_claims_under_footprint
(ctx: &ReducerContext, footprint: &Vec<(SmallHexTile, FootprintType)>)
BitCraftServer/packages/game/src/game/claim_helper.rs:120
↓ 4 callersFunctionhas_hitbox_footprint
(ctx: &ReducerContext, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:119
↓ 4 callersMethodhas_officer_permissions
(&self, ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:98
↓ 4 callersMethodhashcode
(&self)
BitCraftServer/packages/game/src/game/coordinates/chunk_coordinates.rs:57
↓ 4 callersMethodinsert
(self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/dropped_inventory_state.rs:78
↓ 4 callersFunctioninterior_trigger_collapse
(ctx: &ReducerContext, dimension_network_entity_id: u64)
BitCraftServer/packages/game/src/game/reducer_helpers/interior_helpers.rs:40
↓ 4 callersMethodinventory
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/dropped_inventory_state.rs:92
↓ 4 callersFunctionis_interior_tile_walkable
(ctx: &ReducerContext, coord: SmallHexTile)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:376
↓ 4 callersMethodis_pocket_empty
(&self, pocket_index: usize)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:391
↓ 4 callersFunctionis_submerged
(ctx: &ReducerContext, terrain_cache: &mut TerrainChunkCache, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:144
↓ 4 callersFunctionlog_quantity
(ctx: &ReducerContext, item_id: i32, is_cargo: bool, player_entity_id: u64, min_quantity: Option<u64>)
BitCraftServer/packages/game/src/game/handlers/admin/admin_find_players_with_item.rs:59
↓ 4 callersMethodmax_supplies
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/claim_tech_state.rs:8
↓ 4 callersMethodon_inventory_updated
(mut self, ctx: &ReducerContext, actor_id: u64, self_inventory: InventoryState)
BitCraftServer/packages/game/src/game/entities/dropped_inventory_state.rs:254
↓ 4 callersFunctionon_item_taken_from_loot_chest
(ctx: &ReducerContext, owner_entity_id: u64, from_inventory_empty: bool)
BitCraftServer/packages/game/src/game/reducer_helpers/loot_chest_helpers.rs:105
↓ 4 callersMethodparent_small_and_large_tile
(&self)
BitCraftServer/packages/game/src/game/coordinates/float_hex_tile.rs:124
↓ 4 callersMethodplayer_should_swim
(&self)
BitCraftServer/packages/game/src/game/entities/terrain_cell.rs:56
↓ 4 callersFunctionread_file
(file_path)
BitCraftServer/packages/game/utility/refactor_client.py:31
↓ 4 callersFunctionreduce
( ctx: &ReducerContext, actor_id: u64, recipe_id: i32, building_entity_id: u64, mut progre
BitCraftServer/packages/game/src/game/handlers/player_craft/craft.rs:218
↓ 4 callersFunctionregion_index_from_entity_id
(entity_id: u64)
BitCraftServer/packages/global_module/src/game/game_state/mod.rs:84
↓ 4 callersFunctionscale_item_stacks
(ctx: &ReducerContext, item_stacks: &Vec<ItemStack>, amount: i32)
BitCraftServer/packages/game/src/game/handlers/player_trade/barter_stall_order_accept.rs:423
↓ 4 callersMethodset_loser
(&mut self, ctx: &ReducerContext, player_index: usize)
BitCraftServer/packages/game/src/game/entities/duel_state.rs:71
↓ 4 callersFunctionstore_deployable
(ctx: &ReducerContext, actor_id: u64, deployable_entity_id: u64, dry_run: bool)
BitCraftServer/packages/game/src/game/reducer_helpers/deployable_helpers.rs:491
↓ 4 callersFunctiontest_coordinates
(ctx: &ReducerContext, dismount_coord: FloatHexTile, deployable_coord: FloatHexTile)
BitCraftServer/packages/game/src/game/handlers/player/deployable_dismount.rs:104
↓ 4 callersMethodto_str
(&self)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:145
↓ 4 callersMethodunlock_pocket
(&mut self, pocket_index: usize)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:708
↓ 4 callersFunctionvalidate_move_timestamp
(prev_timestamp: u64, received_timestamp: u64, now: Timestamp)
BitCraftServer/packages/game/src/game/reducer_helpers/move_validation_helpers.rs:278
↓ 4 callersMethodworld_width_chunks
(&self)
BitCraftServer/packages/game/src/messages/generic.rs:151
↓ 4 callersMethody
(&self)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:97
↓ 3 callersMethodachievement_explored_chunks_count
(&self)
BitCraftServer/packages/game/src/game/entities/exploration_chunks_state.rs:47
↓ 3 callersMethodacquire_building
(&mut self, ctx: &ReducerContext, building_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:515
↓ 3 callersMethodacquire_cargo
(&mut self, ctx: &ReducerContext, cargo_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:594
↓ 3 callersMethodacquire_construction
(&mut self, ctx: &ReducerContext, construction_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:755
↓ 3 callersMethodacquire_deployable
(&mut self, ctx: &ReducerContext, deployable_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:915
↓ 3 callersMethodacquire_extract
(&mut self, ctx: &ReducerContext, extract_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1074
↓ 3 callersMethodacquire_lore
(&mut self, ctx: &ReducerContext, lore_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1234
↓ 3 callersMethodacquire_paving
(&mut self, ctx: &ReducerContext, paving_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1393
↓ 3 callersMethodacquire_resource
(&mut self, ctx: &ReducerContext, resource_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1632
↓ 3 callersMethodactive_buff_of_category
(&self, ctx: &ReducerContext, buff_category: BuffCategory)
BitCraftServer/packages/game/src/game/entities/active_buff_state.rs:173
↓ 3 callersMethodactive_buff_of_type
(&self, ctx: &ReducerContext, buff_type: i32)
BitCraftServer/packages/game/src/game/entities/active_buff_state.rs:150
↓ 3 callersMethodadd_member
( &self, ctx: &ReducerContext, player_entity_id: u64, build_permission: bool,
BitCraftServer/packages/game/src/game/entities/claim_description.rs:145
↓ 3 callersMethodadd_quantity
(&mut self, quantity: i32)
BitCraftServer/packages/game/src/game/entities/pocket.rs:49
↓ 3 callersFunctionbase_checks
( ctx: &ReducerContext, attacker_entity_id: u64, defender_entity_id: u64, combat_action_id: i3
BitCraftServer/packages/game/src/game/handlers/attack.rs:770
↓ 3 callersFunctioncamel_to_snake
(str: &String)
BitCraftServer/packages/game/build_shared.rs:192
↓ 3 callersFunctioncamel_to_snake
(str: &String)
BitCraftServer/packages/global_module/build_shared.rs:192
↓ 3 callersMethodcan_attack
(&self, other: &TargetingMatrixDesc)
BitCraftServer/packages/game/src/game/entities/targeting_matrix.rs:23
↓ 3 callersFunctioncan_sleep
(ctx: &ReducerContext, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/handlers/player/sleep.rs:47
↓ 3 callersFunctionclaim_tile
( ctx: &ReducerContext, claim_entity_id: u64, coord: SmallHexTile, claim_buildings: bool,
BitCraftServer/packages/game/src/game/claim_helper.rs:143
↓ 3 callersFunctionclaim_tile_buildings
(ctx: &ReducerContext, claim_entity_id: u64, coord: SmallHexTile, claim_cache: &mut ClaimTileStateCache)
BitCraftServer/packages/game/src/game/claim_helper.rs:179
↓ 3 callersFunctionclear_resources_under_footprint
(ctx: &ReducerContext, footprint: &[(SmallHexTile, FootprintType)], clear_all: bool)
BitCraftServer/packages/game/src/game/reducer_helpers/footprint_helpers.rs:125
↓ 3 callersFunctioncollect_output
( ctx: &ReducerContext, actor_id: u64, progressive_action_state: &ProgressiveActionState, craf
BitCraftServer/packages/game/src/game/handlers/player_craft/craft_collect.rs:165
↓ 3 callersFunctioncommit_generated_world
(ctx: &ReducerContext, generated_world: GeneratedWorld)
BitCraftServer/packages/game/src/lib.rs:551
↓ 3 callersFunctioncreate_building_interior
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/game/src/game/reducer_helpers/interior_helpers.rs:307
↓ 3 callersFunctiondays_since_unix_epoch
(now: Timestamp)
BitCraftServer/packages/game/src/game/game_state/mod.rs:25
↓ 3 callersFunctiondelete_dimension_network
( ctx: &ReducerContext, dimension_network_entity_id: u64, interior_teleport_destination: OffsetCoo
BitCraftServer/packages/game/src/game/reducer_helpers/interior_helpers.rs:115
← previousnext →201–300 of 3,290, ranked by callers