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
Function
search_for_closest_building_type
(ctx: &ReducerContext, building_type_id: i32)
BitCraftServer/packages/game/src/game/handlers/player/global_search.rs:71
Method
select_all
(ctx: &ReducerContext, coordinates: &SmallHexTile)
BitCraftServer/packages/global_module/src/game/entities/location.rs:34
Method
select_all_in_chunk_iter
(ctx: &ReducerContext, chunk_coordinates: &ChunkCoordinates)
BitCraftServer/packages/game/src/game/entities/location.rs:64
Method
select_all_in_chunk_iter
(ctx: &ReducerContext, chunk_coordinates: &ChunkCoordinates)
BitCraftServer/packages/global_module/src/game/entities/location.rs:54
Method
select_all_in_interior_dimension_iter
(ctx: &ReducerContext, dimension: u32)
BitCraftServer/packages/game/src/game/entities/location.rs:69
Method
select_all_in_interior_dimension_iter
(ctx: &ReducerContext, dimension: u32)
BitCraftServer/packages/global_module/src/game/entities/location.rs:59
Function
send_message
(ctx: &ReducerContext, player_housing_entity_id: u64, new_entrance_building_entity_id: u64)
BitCraftServer/packages/game/src/inter_module/transfer_player_housing.rs:16
Function
send_message
(ctx: &ReducerContext, player_entity_id: u64, claim_entity_id: u64, new_name: String)
BitCraftServer/packages/game/src/inter_module/claim_set_name.rs:10
Function
send_message
(ctx: &ReducerContext, identity: Identity)
BitCraftServer/packages/game/src/inter_module/user_update_region.rs:13
Function
send_message
(ctx: &ReducerContext, claim_entity_id: u64)
BitCraftServer/packages/game/src/inter_module/on_claim_members_changed.rs:7
Function
send_message
(ctx: &ReducerContext, claim_entity_id: u64, building_entity_id: u64, location: OffsetCoordinatesSmall)
BitCraftServer/packages/game/src/inter_module/claim_create_empire_settlement_state.rs:10
Function
send_message
(ctx: &ReducerContext, player_identity: Identity)
BitCraftServer/packages/global_module/src/inter_module/sign_player_out.rs:10
Function
send_message
( ctx: &ReducerContext, player_identity: Identity, item_type: HubItemType, item_id: i32, q
BitCraftServer/packages/global_module/src/inter_module/grant_hub_item.rs:13
Function
server_teleport_player
(ctx: &ReducerContext, timer: TeleportPlayerTimer)
BitCraftServer/packages/game/src/game/handlers/server/server_teleport_player.rs:26
Method
set
(&mut self, damage: i32, crit_result: bool, dodge_result: bool, now: Timestamp)
BitCraftServer/packages/game/src/game/entities/attack_outcome_state.rs:15
Method
set
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/messages/authentication.rs:67
Method
set_at_and_discover
( ctx: &ReducerContext, pocket_index: usize, contents: Option<ItemStack>, disc
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:1135
Method
set_destination
(&mut self, location: OffsetCoordinatesFloat)
BitCraftServer/packages/global_module/src/game/entities/location.rs:122
Function
set_home
(ctx: &ReducerContext, request: PlayerSetHomeRequest)
BitCraftServer/packages/game/src/game/handlers/player/set_home.rs:26
Method
set_location
(&mut self, location: OffsetCoordinatesFloat)
BitCraftServer/packages/global_module/src/game/entities/location.rs:114
Method
set_nickname
(ctx: &ReducerContext, building_entity_id: u64, nickname: String)
BitCraftServer/packages/game/src/game/entities/building_state.rs:329
Method
set_player_stamina
(ctx: &ReducerContext, entity_id: u64, new_stamina: f32)
BitCraftServer/packages/game/src/game/entities/stamina_state.rs:47
Function
set_quest_tracked
(ctx: &ReducerContext, id : i32, tracked : bool)
BitCraftServer/packages/game/src/game/handlers/player/quests.rs:159
Function
set_role_for_identity
(ctx: &ReducerContext, identity: String, role: Role)
BitCraftServer/packages/global_module/src/game/handlers/authentication.rs:51
Function
set_visibility
(ctx: &ReducerContext, visibility: VisibilityType)
BitCraftServer/packages/global_module/src/game/handlers/player/set_visibility.rs:11
Function
shared_table
(_args: TokenStream, input: TokenStream)
BitCraftServer/packages/game/bitcraft-macro/src/lib.rs:44
Function
shared_table_reducer
(_args: TokenStream, input: TokenStream)
BitCraftServer/packages/game/bitcraft-macro/src/lib.rs:162
Method
should_log
(inventory: &InventoryState, inventory_type: InventoryType)
BitCraftServer/packages/game/src/game/entities/action_log_state.rs:57
Method
shuffled_coordinates_between_radius
( center: SmallHexTile, min_radius: i32, max_radius: i32, rng: &mut impl Rng,
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:310
Function
sign_in
(ctx: &ReducerContext, _request: PlayerSignInRequest)
BitCraftServer/packages/game/src/game/handlers/player/sign_in.rs:25
Function
sign_in
(ctx: &ReducerContext, _request: PlayerSignInRequest)
BitCraftServer/packages/global_module/src/game/handlers/player/sign_in.rs:20
Method
simple_raycast
Fast, but not very precise
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:357
Method
single_cargo
(item_id: i32)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:73
Function
skip_onboarding
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/player/quests.rs:238
Function
sleep
(ctx: &ReducerContext, _request: PlayerSleepRequest)
BitCraftServer/packages/game/src/game/handlers/player/sleep.rs:23
Method
spawn
( ctx: &ReducerContext, traveler_type: NpcType, direction: i32, ruin_entity_id
BitCraftServer/packages/game/src/game/entities/npc_state.rs:23
Method
spawn
( ctx: &ReducerContext, entity_id: Option<u64>, resource_id: i32, coordinates:
BitCraftServer/packages/game/src/game/entities/resource_deposit.rs:317
Method
spawn
( ctx: &ReducerContext, placeable_id: i32, owner_entity_id: u64, coordinates:
BitCraftServer/packages/game/src/game/entities/placeable_state.rs:29
Method
spawn_all
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/building_spawn.rs:54
Method
spawn_enemy
( ctx: &ReducerContext, enemy_desc: &EnemyDesc, enemy: EnemyState, offset: Off
BitCraftServer/packages/game/src/game/entities/enemy_state.rs:29
Method
spawn_from_construction_site
( ctx: &ReducerContext, entity_id: u64, resource: &ResourceDesc, coordinates:
BitCraftServer/packages/game/src/game/entities/resource_deposit.rs:285
Method
spawn_in_radius_band
( ctx: &ReducerContext, placeable_id: i32, owner_entity_id: u64, center: Small
BitCraftServer/packages/game/src/game/entities/placeable_state.rs:88
Method
spawn_priority
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/resource_clump.rs:33
Method
spawn_with_ruins
( ctx: &ReducerContext, traveler_type: NpcType, ruin_description_id: i32, dire
BitCraftServer/packages/game/src/game/entities/npc_state.rs:51
Method
sqr_magnitude
(&self)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:85
Function
stage_ability_custom_desc
(ctx: &ReducerContext, records: Vec<AbilityCustomDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:331
Function
stage_ability_custom_desc
(ctx: &ReducerContext, records: Vec<AbilityCustomDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:331
Function
stage_ability_unlock_desc
(ctx: &ReducerContext, records: Vec<AbilityUnlockDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:345
Function
stage_ability_unlock_desc
(ctx: &ReducerContext, records: Vec<AbilityUnlockDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:345
Function
stage_achievement_desc
(ctx: &ReducerContext, records: Vec<AchievementDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:359
Function
stage_achievement_desc
(ctx: &ReducerContext, records: Vec<AchievementDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:359
Function
stage_alert_desc
(ctx: &ReducerContext, records: Vec<AlertDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:373
Function
stage_alert_desc
(ctx: &ReducerContext, records: Vec<AlertDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:373
Function
stage_biome_desc
(ctx: &ReducerContext, records: Vec<BiomeDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:387
Function
stage_biome_desc
(ctx: &ReducerContext, records: Vec<BiomeDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:387
Function
stage_buff_desc
(ctx: &ReducerContext, records: Vec<BuffDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:401
Function
stage_buff_desc
(ctx: &ReducerContext, records: Vec<BuffDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:401
Function
stage_buff_type_desc
(ctx: &ReducerContext, records: Vec<BuffTypeDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:415
Function
stage_buff_type_desc
(ctx: &ReducerContext, records: Vec<BuffTypeDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:415
Function
stage_building_buff_desc
(ctx: &ReducerContext, records: Vec<BuildingBuffDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:429
Function
stage_building_buff_desc
(ctx: &ReducerContext, records: Vec<BuildingBuffDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:429
Function
stage_building_claim_desc
(ctx: &ReducerContext, records: Vec<BuildingClaimDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:443
Function
stage_building_claim_desc
(ctx: &ReducerContext, records: Vec<BuildingClaimDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:443
Function
stage_building_desc
(ctx: &ReducerContext, records: Vec<BuildingDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:457
Function
stage_building_desc
(ctx: &ReducerContext, records: Vec<BuildingDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:457
Function
stage_building_portal_desc
(ctx: &ReducerContext, records: Vec<BuildingPortalDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:471
Function
stage_building_portal_desc
(ctx: &ReducerContext, records: Vec<BuildingPortalDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:471
Function
stage_building_repairs_desc
(ctx: &ReducerContext, records: Vec<BuildingRepairsDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:485
Function
stage_building_repairs_desc
(ctx: &ReducerContext, records: Vec<BuildingRepairsDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:485
Function
stage_building_spawn_desc
(ctx: &ReducerContext, records: Vec<BuildingSpawnDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:499
Function
stage_building_spawn_desc
(ctx: &ReducerContext, records: Vec<BuildingSpawnDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:499
Function
stage_building_type_desc
(ctx: &ReducerContext, records: Vec<BuildingTypeDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:513
Function
stage_building_type_desc
(ctx: &ReducerContext, records: Vec<BuildingTypeDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:513
Function
stage_cargo_desc
(ctx: &ReducerContext, records: Vec<CargoDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:527
Function
stage_cargo_desc
(ctx: &ReducerContext, records: Vec<CargoDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:527
Function
stage_character_stat_desc
(ctx: &ReducerContext, records: Vec<CharacterStatDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:541
Function
stage_character_stat_desc
(ctx: &ReducerContext, records: Vec<CharacterStatDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:541
Function
stage_chest_rarity_desc
(ctx: &ReducerContext, records: Vec<ChestRarityDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:555
Function
stage_chest_rarity_desc
(ctx: &ReducerContext, records: Vec<ChestRarityDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:555
Function
stage_claim_tech_desc
(ctx: &ReducerContext, records: Vec<ClaimTechDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:569
Function
stage_claim_tech_desc
(ctx: &ReducerContext, records: Vec<ClaimTechDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:569
Function
stage_claim_tile_cost
(ctx: &ReducerContext, records: Vec<ClaimTileCost>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:583
Function
stage_claim_tile_cost
(ctx: &ReducerContext, records: Vec<ClaimTileCost>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:583
Function
stage_climb_requirement_desc
(ctx: &ReducerContext, records: Vec<ClimbRequirementDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:597
Function
stage_climb_requirement_desc
(ctx: &ReducerContext, records: Vec<ClimbRequirementDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:597
Function
stage_clothing_desc
(ctx: &ReducerContext, records: Vec<ClothingDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:611
Function
stage_clothing_desc
(ctx: &ReducerContext, records: Vec<ClothingDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:611
Function
stage_collectible_desc
(ctx: &ReducerContext, records: Vec<CollectibleDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:625
Function
stage_collectible_desc
(ctx: &ReducerContext, records: Vec<CollectibleDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:625
Function
stage_combat_action_desc
(ctx: &ReducerContext, records: Vec<CombatActionDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:639
Function
stage_combat_action_desc
(ctx: &ReducerContext, records: Vec<CombatActionDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:639
Function
stage_combat_action_multi_hit_desc
(ctx: &ReducerContext, records: Vec<CombatActionMultiHitDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:653
Function
stage_combat_action_multi_hit_desc
(ctx: &ReducerContext, records: Vec<CombatActionMultiHitDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:653
Function
stage_construction_recipe_desc
(ctx: &ReducerContext, records: Vec<ConstructionRecipeDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:667
Function
stage_construction_recipe_desc
(ctx: &ReducerContext, records: Vec<ConstructionRecipeDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:667
Function
stage_contribution_loot_desc
(ctx: &ReducerContext, records: Vec<ContributionLootDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:681
Function
stage_contribution_loot_desc
(ctx: &ReducerContext, records: Vec<ContributionLootDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:681
Function
stage_crafting_recipe_desc
(ctx: &ReducerContext, records: Vec<CraftingRecipeDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:695
Function
stage_crafting_recipe_desc
(ctx: &ReducerContext, records: Vec<CraftingRecipeDesc>)
BitCraftServer/packages/global_module/src/game/autogen/_static_data.rs:695
Function
stage_deconstruction_recipe_desc
(ctx: &ReducerContext, records: Vec<DeconstructionRecipeDesc>)
BitCraftServer/packages/game/src/game/autogen/_static_data.rs:709
← previous
next →
2,901–3,000 of 3,290, ranked by callers