MCPcopy Create free account

hub / github.com/clockworklabs/BitCraftPublic / functions

Functions3,290 in github.com/clockworklabs/BitCraftPublic

↓ 2 callersMethodcollect_paid_rent
(&mut self, ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/rent_state.rs:58
↓ 2 callersFunctioncomment_all_handlers
(dir_path,conditionStr)
BitCraftServer/packages/game/utility/comment_all_handlers.py:7
↓ 2 callersFunctioncomplete_chain
(ctx: &ReducerContext, player_id: u64, chain_id: i32)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_onboarding.rs:66
↓ 2 callersMethodcoordinates_float
(&self)
BitCraftServer/packages/global_module/src/game/entities/location.rs:154
↓ 2 callersMethodcount
(&self)
BitCraftServer/packages/game/src/game/world_gen/resources_map_definition.rs:10
↓ 2 callersMethodcount_item_quantity
(&self, item_id: i32, item_type: ItemType)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:405
↓ 2 callersFunctioncreate_building_interior_internal
( ctx: &ReducerContext, building_description_id: i32, external_building_entity_id: u64, dimens
BitCraftServer/packages/game/src/game/reducer_helpers/interior_helpers.rs:324
↓ 2 callersFunctioncreate_distant_visibile_building
(ctx: &ReducerContext, building_desc: &BuildingDesc, entity_id: u64, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/reducer_helpers/building_helpers.rs:611
↓ 2 callersFunctioncreate_footprint
( ctx: &ReducerContext, entity_id: u64, footprint: &Vec<(SmallHexTile, FootprintType)>, overri
BitCraftServer/packages/game/src/game/reducer_helpers/footprint_helpers.rs:94
↓ 2 callersFunctioncreate_player_interior
(ctx: &ReducerContext, building_description_id: i32, external_building_entity_id: u64)
BitCraftServer/packages/game/src/game/reducer_helpers/interior_helpers.rs:288
↓ 2 callersFunctiondeactivate_deployable_collectible
( ctx: &ReducerContext, actor_id: u64, deployable_desc: &DeployableDesc, dry_run: bool, )
BitCraftServer/packages/game/src/game/reducer_helpers/deployable_helpers.rs:553
↓ 2 callersFunctiondelete_crumb_trail
(ctx: &ReducerContext, crumb_trail: &CrumbTrailState)
BitCraftServer/packages/game/src/agents/crumb_trail_clean_up_agent.rs:105
↓ 2 callersFunctiondelete_herds
(ctx: &ReducerContext, enemy_ai_params_desc_id: i32)
BitCraftServer/packages/game/src/game/handlers/admin/admin_reset_herd_locations.rs:60
↓ 2 callersFunctiondelete_unaffiliated_enemies
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/admin/admin_reset_herd_locations.rs:83
↓ 2 callersFunctiondeployables_at_coordinates
(ctx: &'a ReducerContext, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:111
↓ 2 callersMethoddestination_float
(&self)
BitCraftServer/packages/game/src/game/entities/location.rs:176
↓ 2 callersMethoddiscover_claim
(&mut self, ctx: &ReducerContext, claim_entity_id: u64)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:653
↓ 2 callersMethoddiscover_ruins
(&mut self, ctx: &ReducerContext, coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1690
↓ 2 callersFunctiondismount_deployable_and_explore_and_set_deployable_position
( ctx: &ReducerContext, player_entity_id: u64, target_coordinates: FloatHexTile, deployable_co
BitCraftServer/packages/game/src/game/reducer_helpers/deployable_helpers.rs:404
↓ 2 callersMethoddistance_to
(&self, ctx: &ReducerContext, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/entities/project_site_state.rs:18
↓ 2 callersFunctiondont_reformat
(s: String)
BitCraftServer/packages/global_module/src/i18n.rs:9
↓ 2 callersMethoddouble
(&mut self)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:191
↓ 2 callersFunctionempire_deploy_siege_engine_reduce
( ctx: &ReducerContext, actor_id: u64, coord: OffsetCoordinatesSmallMessage, direction: i32,
BitCraftServer/packages/game/src/game/handlers/empires/empire_start_siege.rs:84
↓ 2 callersFunctionempire_player_leave_impl
(ctx: &ReducerContext, empire_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empires.rs:117
↓ 2 callersFunctionempire_resupply_node_reduce
( ctx: &ReducerContext, actor_id: u64, building_entity_id: u64, from_pocket: PocketKey, dr
BitCraftServer/packages/game/src/game/handlers/empires/empire_resupply_node.rs:62
↓ 2 callersMethodensure_claim_tech
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/building_state.rs:295
↓ 2 callersMethodevaluate_extract_discoveries
(&mut self, ctx: &ReducerContext, recipes: I)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:522
↓ 2 callersFunctionevent_delay
(recipe: &CraftingRecipeDesc, stats: &CharacterStatsState)
BitCraftServer/packages/game/src/game/handlers/player_craft/craft.rs:23
↓ 2 callersMethodexclude_used_items
(&mut self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:1537
↓ 2 callersFunctionexpel_and_despawn
( ctx: &ReducerContext, actor_id: u64, deployable_entity_id: u64, deployable_desc: DeployableD
BitCraftServer/packages/game/src/game/reducer_helpers/deployable_helpers.rs:515
↓ 2 callersMethodexpend_energy
(&mut self, energy_cost: f32, allow_negative: bool)
BitCraftServer/packages/game/src/game/entities/teleportation_energy_state.rs:56
↓ 2 callersMethodexplore_chunk_internal
(&mut self, (vec_index, bitmask): (usize, u64), counts_toward_achievements: bool)
BitCraftServer/packages/game/src/game/entities/exploration_chunks_state.rs:51
↓ 2 callersFunctionextract_coins
(item_stacks: &mut Vec<ItemStack>)
BitCraftServer/packages/game/src/game/handlers/player_trade/barter_stall_order_accept.rs:448
↓ 2 callersMethodf_costs
(&self)
BitCraftServer/packages/game/src/game/generic/pathfinder.rs:175
↓ 2 callersFunctionfail_timing
(ctx: &ReducerContext, actor_id: u64, current_action: PlayerActionType, error: String)
BitCraftServer/packages/game/src/game/reducer_helpers/player_action_helpers.rs:130
↓ 2 callersFunctionfinalize
(ctx: &ReducerContext, trade_session: &mut TradeSessionState)
BitCraftServer/packages/game/src/game/handlers/player_trade/trade_accept.rs:80
↓ 2 callersFunctionfind_hierarchy_root
(hierarchy: &Vec<usize>, node_index: usize)
BitCraftServer/packages/game/src/game/world_gen/world_generation/world_graph.rs:883
↓ 2 callersFunctionfind_lakes
Traverse the graph looking for lake nodes that are at the border and group them by lake
BitCraftServer/packages/game/src/game/world_gen/world_generation/world_graph.rs:676
↓ 2 callersFunctionfind_teleport_coordinates_for_interior_destruction
(ctx: &ReducerContext, building_id: u64)
BitCraftServer/packages/game/src/game/reducer_helpers/interior_helpers.rs:88
↓ 2 callersMethodfits
(&self, ctx: &ReducerContext, item_stack: ItemStack)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:437
↓ 2 callersMethodfits_all
(&self, ctx: &ReducerContext, item_stacks: &Vec<ItemStack>)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:441
↓ 2 callersMethodfootprint
(&self, ctx: &ReducerContext, center: SmallHexTile)
BitCraftServer/packages/game/src/game/entities/building_state.rs:24
↓ 2 callersMethodfulfills_function
(&self, building_type: i32, level: i32)
BitCraftServer/packages/game/src/game/static_data/building.rs:7
↓ 2 callersMethodget_array_dimensions
(&self)
BitCraftServer/packages/game/src/game/world_gen/noise_map.rs:46
↓ 2 callersFunctionget_claim_under_building
Returns the claim_entity_id of the tiles under the building if every walkable and hitbox footprints are covered, 0 otherwise.
BitCraftServer/packages/game/src/game/claim_helper.rs:28
↓ 2 callersFunctionget_claim_under_footprint_cached
Returns the claim_entity_id of the tiles under the footprint if every walkable and hitbox footprints are covered, 0 otherwise.
BitCraftServer/packages/game/src/game/claim_helper.rs:56
↓ 2 callersMethodget_completed_crafts
(&self, actions_required: i32)
BitCraftServer/packages/game/src/game/entities/progressive_action_state.rs:86
↓ 2 callersMethodget_coordinates
(&self)
BitCraftServer/packages/game/src/game/world_gen/world_generation/entity_node.rs:30
↓ 2 callersFunctionget_deployable_deploybale_appearance_override
( ctx: &ReducerContext, collectible_id: i32, )
BitCraftServer/packages/game/src/game/handlers/player_vault/collectible_activate.rs:23
↓ 2 callersFunctionget_distance
( ctx: &ReducerContext, building_state: &Option<BuildingState>, deployable_location: Option<SmallH
BitCraftServer/packages/game/src/game/handlers/player_trade/barter_stall_order_accept.rs:460
↓ 2 callersFunctionget_distance
(ctx: &ReducerContext, deposit: &ResourceState, center: SmallHexTile, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/handlers/player/extract.rs:539
↓ 2 callersFunctionget_duration
(ctx: &ReducerContext, time: Vec<f32>)
BitCraftServer/packages/game/src/game/entities/growth_state.rs:36
↓ 2 callersMethodget_elevation
(&self, terrain_graph: &HexGraph<TerrainNode>)
BitCraftServer/packages/game/src/game/world_gen/world_generation/entity_node.rs:40
↓ 2 callersMethodget_entity_local
(&self, local_x: i32, local_z: i32, dimension: u32)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:135
↓ 2 callersFunctionget_hitbox_footprint
(ctx: &ReducerContext, coordinates: SmallHexTile)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:128
↓ 2 callersMethodget_index
(&self, coord: LargeHexTile)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:226
↓ 2 callersMethodget_index_from_offset_coordinates
(&self, coordinates: OffsetCoordinates)
BitCraftServer/packages/game/src/game/world_gen/world_generation/hex_graph.rs:61
↓ 2 callersMethodget_noise
(&self, position: Vector2)
BitCraftServer/packages/game/src/game/world_gen/world_map_definition.rs:16
↓ 2 callersFunctionget_npc_empire_id
Gets the NPC empire entity ID, returning an error if it doesn't exist. Looks up by owner_type rather than name so it works regardless of what name was
BitCraftServer/packages/global_module/src/game/handlers/empires/npc_empire.rs:141
↓ 2 callersFunctionget_or_create_npc_empire
Gets the NPC empire entity ID, or creates the NPC empire if it doesn't exist. Creates EmpireState, EmpireEmblemState, and EmpireLogState (to prevent p
BitCraftServer/packages/global_module/src/game/handlers/empires/npc_empire.rs:21
↓ 2 callersMethodget_pathfinding_costs
(&self, elevation_difference: i32)
BitCraftServer/packages/game/src/game/world_gen/river_generation_settings.rs:28
↓ 2 callersMethodget_permission_entities
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:85
↓ 2 callersMethodget_pixel_index
(&self, coordinates: Vector2Int)
BitCraftServer/packages/game/src/game/world_gen/biomes_map_definition.rs:36
↓ 2 callersFunctionget_player_location
(ctx: &ReducerContext, actor_id: u64)
BitCraftServer/packages/game/src/game/handlers/player/global_search.rs:142
↓ 2 callersFunctionget_radius
(ctx: &ReducerContext, entity_type: EntityType, entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/attack.rs:1152
↓ 2 callersMethodget_refunded_crafts
(&self, actions_required: i32)
BitCraftServer/packages/game/src/game/entities/progressive_action_state.rs:89
↓ 2 callersFunctionget_signed_in_player_count
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/queue/player_queue.rs:76
↓ 2 callersFunctionget_speed_on_water_type
( nautical_speed: &Vec<MovementSpeed>, mut water_body_type: u8, water_depth: Option<i16>, is_p
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:640
↓ 2 callersFunctionget_terraform_building_id
(ctx: &ReducerContext, coordinates: OffsetCoordinatesLargeMessage)
BitCraftServer/packages/game/src/game/handlers/player/terraform.rs:85
↓ 2 callersMethodget_upkeep_multiplier
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:201
↓ 2 callersMethodget_water_body_type_index
(&self, index: usize)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:239
↓ 2 callersMethodget_water_level
(&self, terrain_graph: &HexGraph<TerrainNode>)
BitCraftServer/packages/game/src/game/world_gen/world_generation/entity_node.rs:179
↓ 2 callersFunctiongrant_collectible
(ctx: &ReducerContext, player_identity: Identity, collectible_id: i32, quantity: u32)
BitCraftServer/packages/game/src/inter_module/grant_hub_item.rs:29
↓ 2 callersFunctiongrant_deconstructed_items
(ctx: &ReducerContext, actor_id: u64, recipe: &DeconstructionRecipeDesc)
BitCraftServer/packages/game/src/game/handlers/buildings/building_deconstruct.rs:233
↓ 2 callersFunctionhandle_destination_result_on_sender
(ctx: &ReducerContext, request: PlayerCreateMsg, error: Option<String>)
BitCraftServer/packages/global_module/src/inter_module/player_create.rs:22
↓ 2 callersMethodhas_category
(&self, ctx: &ReducerContext, category: BuildingCategory)
BitCraftServer/packages/global_module/src/game/static_data/building.rs:35
↓ 2 callersMethodhas_collectible
(&self, id: i32)
BitCraftServer/packages/game/src/game/entities/vault_state.rs:28
↓ 2 callersMethodhas_discovered_achievement
(&self, achievement_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:318
↓ 2 callersMethodhas_discovered_battle_action
(&self, battle_action_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:398
↓ 2 callersMethodhas_discovered_building
(&self, building_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:477
↓ 2 callersMethodhas_discovered_cargo
(&self, cargo_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:556
↓ 2 callersMethodhas_discovered_claim
(&self, claim_entity_id: u64)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:637
↓ 2 callersMethodhas_discovered_deployable
(&self, deployable_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:877
↓ 2 callersMethodhas_discovered_enemy
(&self, enemy_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:956
↓ 2 callersMethodhas_discovered_item
(&self, item_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1115
↓ 2 callersMethodhas_discovered_lore
(&self, lore_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1196
↓ 2 callersMethodhas_discovered_npc
(&self, npc_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1275
↓ 2 callersMethodhas_discovered_resource
(&self, resource_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1594
↓ 2 callersMethodhas_discovered_ruins
(&self, coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1674
↓ 2 callersMethodhas_discovered_secondary
(&self, secondary_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1753
↓ 2 callersMethodhas_discovered_vault
(&self, vault_id: i32)
BitCraftServer/packages/game/src/game/discovery/autogen/_discovery.rs:1833
↓ 2 callersMethodhas_only_one_buff
(self)
BitCraftServer/packages/global_module/src/messages/extensions.rs:61
↓ 2 callersFunctionhas_role_no_dev
(ctx: &ReducerContext, identity: &Identity, role: Role)
BitCraftServer/packages/game/src/game/handlers/authentication.rs:45
↓ 2 callersFunctionimport_ability_custom_desc_internal
(ctx: &ReducerContext, records: Vec<AbilityCustomDesc>)
BitCraftServer/packages/game/src/import_reducers.rs:3903
↓ 2 callersFunctionimport_ability_unlock_desc_internal
(ctx: &ReducerContext, records: Vec<AbilityUnlockDesc>)
BitCraftServer/packages/game/src/import_reducers.rs:3876
↓ 2 callersFunctionimport_achievement_desc_internal
(ctx: &ReducerContext, records: Vec<AchievementDesc>)
BitCraftServer/packages/game/src/import_reducers.rs:63
↓ 2 callersFunctionimport_achievement_desc_internal
(ctx: &ReducerContext, records: Vec<AchievementDesc>)
BitCraftServer/packages/global_module/src/import_reducers.rs:57
↓ 2 callersFunctionimport_alert_desc_internal
(ctx: &ReducerContext, records: Vec<AlertDesc>)
BitCraftServer/packages/game/src/import_reducers.rs:153
↓ 2 callersFunctionimport_alert_desc_internal
(ctx: &ReducerContext, records: Vec<AlertDesc>)
BitCraftServer/packages/global_module/src/import_reducers.rs:147
↓ 2 callersFunctionimport_biome_desc_internal
(ctx: &ReducerContext, records: Vec<BiomeDesc>)
BitCraftServer/packages/game/src/import_reducers.rs:207
← previousnext →401–500 of 3,290, ranked by callers