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
initialize
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/lib.rs:46
Function
initialize
(ctx: &ReducerContext)
BitCraftServer/packages/global_module/src/lib.rs:24
Method
initiate
(ctx: &ReducerContext, initiator_entity_id: u64, acceptor_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/duel_state.rs:29
Function
insert_developer_identity
( ctx: &ReducerContext, identity: String, developer_name: String, service_name: String, em
BitCraftServer/packages/game/src/game/handlers/admin/admin_manage_developers.rs:14
Function
insert_developer_identity
( ctx: &ReducerContext, identity: String, developer_name: String, service_name: String, em
BitCraftServer/packages/global_module/src/game/handlers/admin/admin_manage_developers.rs:14
Method
insert_light_source_state
(ctx: &ReducerContext, entity_id: u64, light_radius: i32)
BitCraftServer/packages/game/src/game/entities/resource_deposit.rs:431
Function
insert_location
(ctx: &ReducerContext, entity_id: u64, offset_coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/global_module/src/game/game_state/mod.rs:25
Function
insert_location_float
(ctx: &ReducerContext, entity_id: u64, coordinates: OffsetCoordinatesFloat)
BitCraftServer/packages/global_module/src/game/game_state/mod.rs:36
Method
insert_one
Insert a single `ResourceDeposit` and update the corresponding `ResourceCount`. For batch inserts, this will be less efficient than reading the `Reso
BitCraftServer/packages/game/src/game/entities/resource_deposit.rs:80
Function
insert_resources_log
(ctx: &ReducerContext, resources_log: ResourcesLog)
BitCraftServer/packages/game/src/lib.rs:425
Function
insert_terrain_chunk
( ctx: &ReducerContext, terrain_chunk: TerrainChunkState, buildings: Vec<WorldGenGeneratedBuilding
BitCraftServer/packages/game/src/lib.rs:268
Method
insert_with_end_timer
( ctx: &ReducerContext, vote_type: PlayerVoteType, initiator_entity_id: u64, p
BitCraftServer/packages/game/src/game/entities/player_vote_state.rs:53
Method
insert_with_end_timer
( ctx: &ReducerContext, vote_type: PlayerVoteType, initiator_entity_id: u64, p
BitCraftServer/packages/global_module/src/game/entities/player_vote_state.rs:54
Method
inter_module_insert
(ctx: &ReducerContext, report_state: PlayerReportState)
BitCraftServer/packages/game/src/game/entities/player_report_state.rs:9
Method
inter_module_insert
(ctx: &ReducerContext, report_state: PlayerReportState)
BitCraftServer/packages/global_module/src/game/entities/player_report_state.rs:9
Function
interior_set_collapsed_scheduled
(ctx: &ReducerContext, timer: InteriorSetCollapsedTimer)
BitCraftServer/packages/game/src/game/handlers/server/interior_set_collapsed.rs:32
Function
inventory_create_personal
(ctx: &ReducerContext, building_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/inventory/inventory_create_personal.rs:13
Function
inventory_index_for_function
(ctx: &ReducerContext, building_id: i32, function_type: i32)
BitCraftServer/packages/game/src/game/game_state/game_state_filters.rs:358
Function
inventory_sort
(ctx: &ReducerContext, target_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/inventory/inventory_sort.rs:13
Function
inverse_lerp
(a: f32, b: f32, value: f32)
BitCraftServer/packages/game/src/game/unity_helpers/float_helper.rs:28
Function
inverse_lerp
(a: f32, b: f32, value: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/float_helper.rs:28
Function
invite_to_chat_channel
(ctx: &ReducerContext, channel_entity_id: u64, player_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/player/invite_to_chat_channel.rs:12
Method
is_alive
also returns false if there is no healthstate
BitCraftServer/packages/game/src/game/entities/health_state.rs:31
Method
is_center
(&self)
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:339
Method
is_center
(&self)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:349
Method
is_compatible
(existing: &FootprintType, new: &FootprintType)
BitCraftServer/packages/game/src/game/static_data/footprint_delta.rs:4
Method
is_corner
(&self)
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:274
Method
is_corner
(&self)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:254
Method
is_depleted
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/resource_health_state.rs:6
Method
is_depleted_self
(&self)
BitCraftServer/packages/game/src/game/entities/resource_health_state.rs:14
Method
is_dimension_network_empty
(ctx: &ReducerContext, network_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:99
Method
is_emperor
(ctx: &ReducerContext, player_entity_id: u64, empire_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:682
Method
is_empty
(&self, ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/entities/player_housing_state.rs:92
Method
is_enterable
(&self)
BitCraftServer/packages/game/src/game/static_data/building.rs:56
Method
is_enterable
(&self)
BitCraftServer/packages/global_module/src/game/static_data/building.rs:56
Method
is_member
(ctx: &ReducerContext, actor_id: u64, claim_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:76
Method
is_part_of_empire
(ctx: &ReducerContext, player_entity_id: u64, empire_entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:689
Method
is_player_doing_action
(ctx: &ReducerContext, entity_id: &u64, action_type: &PlayerActionType)
BitCraftServer/packages/game/src/game/entities/player_action_state.rs:21
Method
is_pointy
(direction: HexDirection)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:108
Function
is_spawned
(ctx: &ReducerContext, deployable_entity_id: u64)
BitCraftServer/packages/game/src/game/reducer_helpers/deployable_helpers.rs:599
Method
is_valid_elevator_placement
( ctx: &ReducerContext, terrain_cache: &mut TerrainChunkCache, coordinates: SmallHexTi
BitCraftServer/packages/game/src/game/entities/project_site_state.rs:236
Method
is_valid_market_mode_order
( offer_items: &Vec<ItemStack>, required_items: &Vec<ItemStack>, )
BitCraftServer/packages/game/src/game/entities/trade_order_state.rs:45
Method
is_valid_spawn_tile
( ctx: &ReducerContext, terrain_cache: &mut TerrainChunkCache, owner_entity_id: u64,
BitCraftServer/packages/game/src/game/entities/placeable_state.rs:154
Method
is_water
(&self, position: Vector2)
BitCraftServer/packages/game/src/game/world_gen/world_map_definition.rs:12
Function
item_convert
(ctx: &ReducerContext, request: PlayerItemConvertRequest)
BitCraftServer/packages/game/src/game/handlers/player_craft/item_convert.rs:51
Function
item_convert_start
(ctx: &ReducerContext, request: PlayerItemConvertRequest)
BitCraftServer/packages/game/src/game/handlers/player_craft/item_convert.rs:32
Function
item_drop
(ctx: &ReducerContext, request: PlayerItemDropRequest)
BitCraftServer/packages/game/src/game/handlers/inventory/item_drop.rs:16
Function
item_pick_up
(ctx: &ReducerContext, request: PlayerDroppedInventoryPickUpRequest)
BitCraftServer/packages/game/src/game/handlers/player_inventory/item_pick_up.rs:12
Function
item_stack_move
(ctx: &ReducerContext, request: PlayerItemStackMoveRequest)
BitCraftServer/packages/game/src/game/handlers/inventory/item_stack_move.rs:22
Function
item_stack_move_all
(ctx: &ReducerContext, request: PlayerItemStackMoveAllRequest)
BitCraftServer/packages/game/src/game/handlers/inventory/item_stack_move_all.rs:16
Function
item_stack_split
(ctx: &ReducerContext, request: PlayerItemStackSplitRequest)
BitCraftServer/packages/game/src/game/handlers/inventory/item_stack_split.rs:13
Function
item_use
(ctx: &ReducerContext, request: PlayerItemUseRequest)
BitCraftServer/packages/game/src/game/handlers/player_inventory/item_use.rs:34
Function
item_use_start
(ctx: &ReducerContext, request: PlayerItemUseRequest)
BitCraftServer/packages/game/src/game/handlers/player_inventory/item_use.rs:16
Function
join_chat_channel
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/player/join_chat_channel.rs:18
Method
knowledge_entry_array_hash
(entries: &Vec<KnowledgeEntry>)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:16
Method
known_chunks_pct
(ctx: &ReducerContext, known_chunks: i32)
BitCraftServer/packages/game/src/game/entities/achievement.rs:11
Function
leave_chat_channel
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/handlers/player/leave_chat_channel.rs:11
Function
lerp
(a: f32, b: f32, t: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/float_helper.rs:24
Method
lerp
(a: &FloatHexTile, b: &FloatHexTile, t: f32)
BitCraftServer/packages/game/src/game/coordinates/float_hex_tile.rs:134
Method
lerp
(a: &Vector2, b: &Vector2, t: f32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:97
Method
lerp
(a: &Vector2, b: &Vector2, t: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:97
Method
level_for_experience
(experience: i32)
BitCraftServer/packages/game/src/game/entities/experience_stack.rs:34
Method
linear
(start_time: f32, start_val: f32, ent_time: f32, end_val: f32)
BitCraftServer/packages/game/src/game/unity_helpers/animation_curve.rs:78
Function
load_config
(ctx: &ReducerContext, environment_names: Vec<String>, contents: Vec<String>)
BitCraftServer/packages/game/src/game/load_config.rs:8
Function
load_config
(ctx: &ReducerContext, environment_names: Vec<String>, contents: Vec<String>)
BitCraftServer/packages/global_module/src/game/load_config.rs:8
Method
location_entry_array_hash
(entries: &Vec<KnowledgeLocationEntry>)
BitCraftServer/packages/game/src/game/discovery/discovery_setters.rs:21
Function
log_claim_member_leaderboard
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/stats/claim_stats.rs:8
Function
log_claim_tier_leaderboard
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/stats/claim_stats.rs:39
Function
log_empire_leaderboard
(ctx: &ReducerContext)
BitCraftServer/packages/global_module/src/game/handlers/stats/empire_stats.rs:9
Function
log_player_with_
(ctx: &ReducerContext)
BitCraftServer/packages/global_module/src/game/handlers/stats/player_stats.rs:9
Method
log_storage
( ctx: &ReducerContext, from_inventory: &InventoryState, to_inventory: &InventoryState
BitCraftServer/packages/game/src/game/entities/action_log_state.rs:12
Function
loot_chest_despawn
(ctx: &ReducerContext, timer: LootChestDespawnTimer)
BitCraftServer/packages/game/src/game/handlers/server/loot_chest_despawn.rs:21
Function
loot_chest_spawn
(ctx: &ReducerContext, timer: LootChestSpawnTimer)
BitCraftServer/packages/game/src/game/handlers/server/loot_chest_spawn.rs:20
Function
main
()
BitCraftServer/packages/game/build.rs:423
Function
main
()
BitCraftServer/packages/global_module/build.rs:5
Function
map
(value: f32, x1: f32, x2: f32, y1: f32, y2: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/float_helper.rs:17
Method
mark_as_consumed
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_action_state.rs:90
Method
max_building_health
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/health_state.rs:126
Method
max_concurrent_crafts
(description: &BuildingDesc)
BitCraftServer/packages/game/src/game/entities/building_function.rs:52
Method
max_concurrent_crafts
(description: &BuildingDesc)
BitCraftServer/packages/global_module/src/game/entities/building_function.rs:52
Method
max_difference
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/static_data/terraform_recipe.rs:6
Method
max_enemy_health
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/health_state.rs:132
Method
max_housing_slots
(description: &BuildingDesc)
BitCraftServer/packages/game/src/game/entities/building_function.rs:61
Method
max_housing_slots
(description: &BuildingDesc)
BitCraftServer/packages/global_module/src/game/entities/building_function.rs:61
Method
max_player_health
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/health_state.rs:122
Method
max_player_stamina
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/stamina_state.rs:68
Method
meets_level_requirement
(ctx: &ReducerContext, entity_id: u64, level_requirement: &LevelRequirement)
BitCraftServer/packages/game/src/game/entities/player_state.rs:53
Method
meets_requirements_for_achievement
(ctx: &ReducerContext, entity_id: u64, achievement_id: i32)
BitCraftServer/packages/game/src/game/entities/achievement.rs:299
Method
merge_multiple
(item_stacks: &Vec<ItemStack>)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:109
Function
migrate_auto_attacks
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_auto_attacks.rs:9
Function
migrate_character_stats
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_character_stats.rs:13
Function
migrate_claim_tech
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_claim_tech.rs:9
Function
migrate_exploration_achievement_counts
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/admin/migrate_exploration_achievement_counts.rs:12
Function
migrate_fix_empire_lowercase_names
(ctx: &ReducerContext)
BitCraftServer/packages/global_module/src/game/handlers/migration/migrate_fix_empire_lowercase_names.rs:12
Function
migrate_grant_default_collectibles
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_grant_default_collectibles.rs:9
Function
migrate_onboarding
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_onboarding.rs:12
Function
migrate_player_settings
(ctx: &ReducerContext)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_player_settings.rs:9
Function
migration_set_achievement_params
(ctx: &ReducerContext, allow_destructive: bool, grant_if_already_owned: bool)
BitCraftServer/packages/game/src/game/handlers/migration/migrate_achievements.rs:17
Function
migration_set_building_desc_params
(ctx: &ReducerContext, allow_building_health_change: bool)
BitCraftServer/packages/game/src/game/handlers/migration/migration_static_data.rs:17
Method
move_player_and_explore
( ctx: &ReducerContext, entity_id: u64, start_coordinates: &FloatHexTile, targ
BitCraftServer/packages/game/src/game/entities/player_state.rs:57
← previous
next →
2,501–2,600 of 3,290, ranked by callers