Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/BitCraftPublic
/ functions
Functions
3,290 in github.com/clockworklabs/BitCraftPublic
⨍
Functions
3,290
◇
Types & classes
1,546
Method
get_attacking_siege
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:705
Method
get_auto_id
(ctx: &ReducerContext, entity_id: &u64, layer: &PlayerActionLayer)
BitCraftServer/packages/game/src/game/entities/player_action_state.rs:29
Method
get_biome
(&self, index: i32)
BitCraftServer/packages/game/src/game/world_gen/biomes_map_definition.rs:20
Method
get_biome_mut
(&mut self, index: i32)
BitCraftServer/packages/game/src/game/world_gen/resource_definition.rs:25
Method
get_building_empire_entity_id
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/empires/empires_shared.rs:27
Method
get_building_empire_entity_id
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empires_shared.rs:27
Method
get_by_owner
(ctx: &ReducerContext, owner_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:838
Method
get_by_owner_with_index
(ctx: &ReducerContext, owner_entity_id: u64, inventory_index: i32)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:842
Function
get_climb_descriptions
(elevation_diff: i16)
BitCraftServer/packages/game/src/game/handlers/player/player_climb.rs:289
Function
get_climb_requirement_desc
(ctx: &ReducerContext, elevation_diff: i16)
BitCraftServer/packages/game/src/game/handlers/player/player_climb.rs:165
Method
get_combat_weapon
(ctx: &ReducerContext, actor_id: u64)
BitCraftServer/packages/game/src/game/entities/player_state.rs:338
Method
get_combat_weapon_slot
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/static_data/tool.rs:91
Method
get_combat_weapon_type
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/player_state.rs:328
Method
get_cooldown_and_weapon_cooldown_multipliers
(ctx: &ReducerContext, player_entity_id: u64, hunting_weapon: bool)
BitCraftServer/packages/game/src/game/entities/character_stats.rs:208
Method
get_coordinates
(&self)
BitCraftServer/packages/game/src/game/world_gen/world_generation/terrain_node.rs:32
Method
get_defending_siege
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:715
Method
get_deployable_speed_multiplier
(ctx: &ReducerContext, entity_id: u64, deployable_type: DeployableType)
BitCraftServer/packages/game/src/game/entities/character_stats.rs:106
Function
get_dimension_size
(ctx: &ReducerContext, dimension: &u32)
BitCraftServer/packages/game/src/game/reducer_helpers/dimension_helpers.rs:13
Method
get_enemy_health_regen
( ctx: &ReducerContext, enemy_entity_id: u64, regen_buffs: &Vec<i32>, regen_bu
BitCraftServer/packages/game/src/game/entities/active_buff_state.rs:274
Method
get_enemy_stat
( collected_stats: &HashMap<CharacterStatType, (f32, f32)>, character_stat_type: CharacterStat
BitCraftServer/packages/game/src/game/entities/active_buff_state.rs:261
Method
get_entity_stat
(ctx: &ReducerContext, entity_id: u64, stat: CharacterStatType)
BitCraftServer/packages/game/src/game/entities/character_stats.rs:99
Method
get_entity_static
(ctx: &ReducerContext, coord: &LargeHexTile)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:127
Method
get_equipped_tool
(ctx: &ReducerContext, player_entity_id: u64, tool_requirement: &ToolRequirement)
BitCraftServer/packages/game/src/game/static_data/tool.rs:45
Method
get_footprint
(&self, coordinates: &SmallHexTile, direction: i32)
BitCraftServer/packages/game/src/game/static_data/building.rs:39
Method
get_footprint
(&self, coordinates: &SmallHexTile, direction: i32)
BitCraftServer/packages/global_module/src/game/static_data/building.rs:39
Method
get_footprint_radius
(&self)
BitCraftServer/packages/game/src/game/static_data/resource.rs:22
Method
get_for_player
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/duel_state.rs:90
Method
get_housing_move_minutes_cost
(ctx: &ReducerContext, network_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:208
Method
get_hunting_weapon
(ctx: &ReducerContext, actor_id: u64)
BitCraftServer/packages/game/src/game/entities/player_state.rs:332
Method
get_hunting_weapon_type
()
BitCraftServer/packages/game/src/game/entities/player_state.rs:323
Method
get_index_from_node
(&self, node: &T)
BitCraftServer/packages/game/src/game/world_gen/world_generation/hex_graph.rs:55
Method
get_inventory_index
(function_type: i32, description: &BuildingDesc)
BitCraftServer/packages/game/src/game/entities/building_function.rs:21
Method
get_inventory_index
(function_type: i32, description: &BuildingDesc)
BitCraftServer/packages/global_module/src/game/entities/building_function.rs:21
Function
get_location_for_entity
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:282
Function
get_location_for_entity
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/game_state/game_state_filters.rs:75
Method
get_nearby_deployable_inventories
( ctx: &ReducerContext, player_entity_id: u64, get_distance_fn: TDistanceFn, m
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:1214
Function
get_newline_type
(file_path)
BitCraftServer/packages/game/utility/refactor_client.py:12
Method
get_next_timestamp
(ctx: &ReducerContext, npc_type: NpcType)
BitCraftServer/packages/game/src/game/entities/npc_state.rs:108
Method
get_num_similar_market_mode_orders
( trade_orders: &Vec<TradeOrderState>, offer_items: &Vec<ItemStack>, required_items: &
BitCraftServer/packages/game/src/game/entities/trade_order_state.rs:64
Method
get_offset
(seed: i32, min_max_value: f32)
BitCraftServer/packages/game/src/game/world_gen/noise_specs.rs:26
Function
get_partial_claims_under_building
(ctx: &ReducerContext, coordinates: SmallHexTile, building_id: i32, direction: i32)
BitCraftServer/packages/game/src/game/claim_helper.rs:114
Method
get_permission_entities_from_network_id
(ctx: &ReducerContext, network_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:75
Method
get_permission_with_entity
( ctx: &ReducerContext, player_entity_id: u64, target_entity_id: u64, dimensio
BitCraftServer/packages/game/src/game/entities/permission_state.rs:126
Method
get_pixel_coordinates
(world_position: Vector2)
BitCraftServer/packages/game/src/game/world_gen/biomes_map_definition.rs:29
Method
get_player_cargo_id
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:850
Method
get_player_empire_id
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:696
Method
get_player_housing_building_inventories
(ctx: &ReducerContext, network_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:184
Method
get_player_inventory
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:718
Method
get_player_max_satiation
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/satiation_state.rs:76
Method
get_player_permission_for_building
(ctx: &ReducerContext, player_entity_id: u64, building: &BuildingState)
BitCraftServer/packages/game/src/game/entities/permission_state.rs:97
Method
get_player_permission_for_tile
(ctx: &ReducerContext, player_entity_id: u64, location: SmallHexTile)
BitCraftServer/packages/game/src/game/entities/permission_state.rs:117
Method
get_player_rank
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/empires/empires_shared.rs:48
Method
get_player_rank
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empires_shared.rs:48
Method
get_player_toolbelt
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:722
Method
get_player_wallet
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:726
Method
get_rank
(ctx: &ReducerContext, empire_entity_id: u64, rank: u8)
BitCraftServer/packages/game/src/game/handlers/empires/empires_shared.rs:44
Method
get_rank
(ctx: &ReducerContext, empire_entity_id: u64, rank: u8)
BitCraftServer/packages/global_module/src/game/handlers/empires/empires_shared.rs:44
Method
get_rank_and_template_building
(ctx: &ReducerContext, actor_id: u64)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:481
Method
get_required_tool
(ctx: &ReducerContext, player_entity_id: u64, tool_requirement: &ToolRequirement)
BitCraftServer/packages/game/src/game/static_data/tool.rs:8
Method
get_resource_ids
(ctx: &ReducerContext, resource_clump_id: i32)
BitCraftServer/packages/game/src/game/entities/resource_clump.rs:42
Method
get_skill_level
(ctx: &ReducerContext, entity_id: u64, skill_id: i32)
BitCraftServer/packages/game/src/game/entities/player_state.rs:28
Method
get_skill_type
(&self)
BitCraftServer/packages/global_module/src/messages/extensions.rs:123
Method
get_slot_from_skill_id
(ctx: &ReducerContext, skill_id: i32)
BitCraftServer/packages/game/src/game/static_data/tool.rs:96
Method
get_slot_from_tool_type_id
(ctx: &ReducerContext, tool_type_id: i32)
BitCraftServer/packages/game/src/game/static_data/tool.rs:101
Method
get_stat
(ctx: &ReducerContext, entity_id: u64, stat: CharacterStatType)
BitCraftServer/packages/game/src/game/entities/player_state.rs:309
Method
get_state
(ctx: &ReducerContext, entity_id: &u64, layer: &PlayerActionLayer)
BitCraftServer/packages/game/src/game/entities/player_action_state.rs:7
Method
get_state_for_action_type
(ctx: &ReducerContext, entity_id: &u64, action_type: &PlayerActionType)
BitCraftServer/packages/game/src/game/entities/player_action_state.rs:16
Method
get_terrain_coordinates
(&self)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:191
Method
get_time_factor
(ctx: &ReducerContext, tech_power: i32, desired_power: i32)
BitCraftServer/packages/game/src/game/static_data/tool.rs:61
Method
get_traveler_direction
(ctx: &ReducerContext, building_desc_id: i32, building_direction_index: i32)
BitCraftServer/packages/game/src/game/entities/building_spawn.rs:45
Method
get_traveler_spawn_coordinates
( ctx: &ReducerContext, building_desc_id: i32, building_coordinates: &SmallHexTile,
BitCraftServer/packages/game/src/game/entities/building_spawn.rs:29
Method
get_water_body_type
(&self, coord: LargeHexTile)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:234
Function
growth_agent_loop
(ctx: &ReducerContext, _timer: GrowthLoopTimer)
BitCraftServer/packages/game/src/agents/growth_agent.rs:61
Function
half_to_even
(f: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/float_helper.rs:2
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireResupplyNodeMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_resupply_node.rs:133
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireCollectHexiteCapsuleMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_collect_hexite_capsule.rs:54
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireCreateMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_create.rs:126
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireDonateItemMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_donate_item.rs:84
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireClaimJoinMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_claim_join.rs:58
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireSiegeAddSuppliesMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_siege_add_supplies.rs:30
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireWithdrawItemMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_withdraw_item.rs:51
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireQueueSuppliesMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_queue_supplies.rs:77
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireStartSiegeMsg, error: Option<String>)
BitCraftServer/packages/game/src/game/handlers/empires/empire_start_siege.rs:167
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: TransferPlayerHousingMsg, error: Option<String>)
BitCraftServer/packages/game/src/inter_module/transfer_player_housing.rs:64
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: TransferPlayerMsgV4, error: Option<String>)
BitCraftServer/packages/game/src/inter_module/transfer_player.rs:360
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: EmpireCreateBuildingMsg, error: Option<String>)
BitCraftServer/packages/game/src/inter_module/empire_create_building.rs:8
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: RecoverDeployableMsg, error: Option<String>)
BitCraftServer/packages/game/src/inter_module/recover_deployable.rs:70
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: RestoreSkillsMsg, error: Option<String>)
BitCraftServer/packages/global_module/src/game/handlers/player/player_restore_skills.rs:46
Function
handle_destination_result_on_sender
(ctx: &ReducerContext, request: GrantHubItemMsg, error: Option<String>)
BitCraftServer/packages/global_module/src/inter_module/grant_hub_item.rs:37
Method
has_active_buff_of_category
(ctx: &ReducerContext, player_entity_id: u64, buff_category: BuffCategory)
BitCraftServer/packages/game/src/game/entities/buff.rs:13
Method
has_active_buff_of_type
(ctx: &ReducerContext, player_entity_id: u64, buff_type: i32)
BitCraftServer/packages/game/src/game/entities/buff.rs:23
Method
has_active_siege
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/empires/empires_shared.rs:62
Method
has_active_siege
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empires_shared.rs:62
Method
has_any_in_stock_trade_orders
(ctx: &ReducerContext, shop_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/trade_order_state.rs:90
Method
has_cargo_debuff
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/buff.rs:9
Method
has_category
(&self, ctx: &ReducerContext, category: BuildingCategory)
BitCraftServer/packages/global_module/src/game/entities/building_function.rs:5
Method
has_inventory
(&self)
BitCraftServer/packages/game/src/game/entities/building_function.rs:13
Method
has_inventory
(&self)
BitCraftServer/packages/global_module/src/game/entities/building_function.rs:13
Method
has_inventory_permissions
(&self, ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:114
Method
has_items_in_player_inventory_and_nearby_deployables
( ctx: &ReducerContext, player_entity_id: u64, item_stacks: &Vec<ItemStack>, g
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:1257
← previous
next →
2,001–2,100 of 3,290, ranked by callers