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
move_player_and_explore_unsafe
( ctx: &ReducerContext, entity_id: u64, start_coordinates: &FloatHexTile, targ
BitCraftServer/packages/game/src/game/entities/player_state.rs:132
Method
mul
(self, other: i32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2int.rs:52
Method
mul
(self, other: f32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:52
Method
mul
(self, other: i32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2int.rs:30
Method
mul
(self, other: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:52
Method
negative_infinity
()
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:74
Method
negative_infinity
()
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:74
Method
neighbor_n
(&self, direction: HexDirection, n: i32)
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:235
Method
new
()
BitCraftServer/packages/game/src/game/location_cache.rs:38
Method
new
(center: HexCoordinates, radius: i32)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:450
Method
new
(noise_specs: &WorldGenNoiseSpecs, offset_min_max_value: f32)
BitCraftServer/packages/game/src/game/world_gen/noise_specs.rs:15
Method
new
()
BitCraftServer/packages/game/src/game/world_gen/noise_map.rs:16
Method
new
(land_shape_definition: &WorldGenLandShapeDefinition)
BitCraftServer/packages/game/src/game/world_gen/land_shape_definition.rs:19
Method
new
(river_generation_settings: WorldGenRiverGenerationSettings)
BitCraftServer/packages/game/src/game/world_gen/river_generation_settings.rs:17
Method
new
(dx: f64, dy: f64)
BitCraftServer/packages/game/src/game/world_gen/open_simplex_noise.rs:73
Method
new
(noise_based_elevation_layer: WorldGenNoiseBasedElevationLayer)
BitCraftServer/packages/game/src/game/world_gen/noise_based_elevation_layer.rs:17
Method
new
(width: usize, depth: usize)
BitCraftServer/packages/game/src/game/world_gen/world_generation/hex_graph.rs:23
Method
new
(ctx: &ReducerContext, world_definition: &mut WorldDefinition)
BitCraftServer/packages/game/src/game/world_gen/world_generation/world_graph.rs:32
Method
new
(x: i32, z: i32)
BitCraftServer/packages/game/src/game/world_gen/world_generation/entity_node.rs:23
Method
new
(source_lake_index: usize, target_lake_index: usize)
BitCraftServer/packages/game/src/game/world_gen/world_generation/river.rs:15
Method
new
(x: i32, z: i32)
BitCraftServer/packages/game/src/game/world_gen/world_generation/terrain_node.rs:25
Method
new
(ctx: &ReducerContext, identity: Identity, grace_period_type: GracePeriodType)
BitCraftServer/packages/game/src/game/handlers/queue/end_grace_period.rs:29
Method
new
(ctx: &ReducerContext, entity_id: u64, resource_growth_recipe_desc: ResourceGrowthRecipeDesc)
BitCraftServer/packages/game/src/game/entities/growth_state.rs:16
Method
new
(ctx: &ReducerContext, owner_entity_id: u64, ability: AbilityType)
BitCraftServer/packages/game/src/game/entities/ability_state.rs:13
Method
new
(ctx: &ReducerContext, owner_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/dropped_inventory_state.rs:82
Method
new
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/character_stats.rs:15
Method
new
(entity_id: u64)
BitCraftServer/packages/game/src/game/entities/targetable_state.rs:8
Method
new
(entity_id: u64, offset_coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/game/src/game/entities/location.rs:53
Method
new
( ctx: &ReducerContext, ordained_entity_id: u64, allowed_entity_id: u64, group
BitCraftServer/packages/game/src/game/entities/permission_state.rs:19
Method
new
(ctx: &ReducerContext, entity_id: u64, region: Option<WorldRegionState>)
BitCraftServer/packages/game/src/game/entities/exploration_chunks_state.rs:10
Method
new
(ctx: &ReducerContext, enemy_ai_params_desc_id: i32)
BitCraftServer/packages/game/src/game/entities/herd_state.rs:8
Method
new
( ctx: &ReducerContext, vote_type: PlayerVoteType, initiator_entity_id: u64, p
BitCraftServer/packages/game/src/game/entities/player_vote_state.rs:16
Method
new
(ctx: &ReducerContext, enemy_type: EnemyType, herd_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/enemy_state.rs:12
Method
new
(ctx: &ReducerContext, item_id: i32, item_type: ItemType, quantity: i32)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:23
Method
new
(ctx: &ReducerContext, alert_type: AlertType, player_entity_id: u64, target_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/alert_state.rs:12
Method
new
(entity_id: u64, attack_ids: Vec<i32>)
BitCraftServer/packages/game/src/game/entities/combat_state.rs:4
Method
new
( ctx: &ReducerContext, owner_entity_id: u64, building_entity_id: u64, buildin
BitCraftServer/packages/game/src/game/entities/progressive_action_state.rs:11
Method
new
(ctx: &ReducerContext, owner_entity_id: u64, action_id: i32)
BitCraftServer/packages/game/src/game/entities/action_state.rs:6
Method
new
( ctx: &ReducerContext, num_pockets: i32, item_pocket_volume: i32, cargo_pocke
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:90
Method
new
(entity_id: u64)
BitCraftServer/packages/game/src/game/entities/attack_outcome_state.rs:5
Method
new
(ctx: &ReducerContext, owner_entity_id: u64, target_entity_id: u64, threat: f32)
BitCraftServer/packages/game/src/game/entities/threat_state.rs:10
Method
new
()
BitCraftServer/packages/game/src/game/generic/pathfinder.rs:17
Method
new
(player_entity_id: u64)
BitCraftServer/packages/game/src/game/discovery/mod.rs:19
Method
new
(x: i32, y: i32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2int.rs:85
Method
new
(x: f32, y: f32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:81
Method
new
()
BitCraftServer/packages/game/src/inter_module/_autogen.rs:164
Method
new
()
BitCraftServer/packages/game/src/table_caches/location_state_cache.rs:14
Method
new
(location_cache: &'a mut LocationStateCache)
BitCraftServer/packages/game/src/table_caches/claim_tile_state_cache.rs:14
Method
new
Construct a new [`PrecomputeOccupiedTiles`], marking every tile within a claim as occupied. Resources are not allowed to spawn on claimed tiles, so a
BitCraftServer/packages/game/src/agents/resources_regen.rs:329
Method
new
Empire Nodes are watchtowers only and created when the building is created. They can't be unaligned. Claims are now Empire Settlements.
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:38
Method
new
(entity_id: u64, offset_coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/global_module/src/game/entities/location.rs:43
Method
new
( ctx: &ReducerContext, vote_type: PlayerVoteType, initiator_entity_id: u64, p
BitCraftServer/packages/global_module/src/game/entities/player_vote_state.rs:17
Method
new
(x: i32, y: i32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2int.rs:52
Method
new
(x: f32, y: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:81
Method
new
()
BitCraftServer/packages/global_module/src/inter_module/_autogen.rs:164
Method
new_const_time
(climb_type: i32, elevation_range_1: i16, elevation_range_2: i16, climb_time_flat: f32)
BitCraftServer/packages/game/src/game/handlers/player/player_climb.rs:195
Method
new_from_placeable
(ctx: &ReducerContext, entity_id: u64, placeable_growth_desc: PlaceableGrowthDesc)
BitCraftServer/packages/game/src/game/entities/growth_state.rs:27
Method
new_ignore_durability
(item_id: i32, item_type: ItemType, quantity: i32)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:46
Method
new_proto
(def: WorldGenWorldDefinition)
BitCraftServer/packages/game/src/game/world_gen/world_definition.rs:38
Method
new_proto
(val: WorldGenAnimationCurveKeyframe)
BitCraftServer/packages/game/src/game/unity_helpers/animation_curve.rs:7
Method
new_var_time
( climb_type: i32, elevation_range_1: i16, elevation_range_2: i16, climb_time_
BitCraftServer/packages/game/src/game/handlers/player/player_climb.rs:206
Method
new_with_coord
(ctx: &ReducerContext, notification_type: EmpireNotificationType, empire_entity_id: u64, coord: SmallHexTile)
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:986
Method
new_with_index
( ctx: &ReducerContext, num_pockets: i32, item_pocket_volume: i32, cargo_pocke
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:57
Method
new_with_nickname_and_coord
( ctx: &ReducerContext, notification_type: EmpireNotificationType, empire_entity_id: u
BitCraftServer/packages/global_module/src/game/handlers/empires/empire_entities.rs:965
Method
next
(&mut self)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:269
Method
next
(&mut self)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:474
Method
next_flat
(direction: HexDirection)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:100
Method
next_free_pocket
(&self, item_type: ItemType)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:32
Method
next_n
(direction: HexDirection, n: i32)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:88
Method
normalized
(self)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:101
Function
now_plus_duration
(duration: Duration, now: Timestamp)
BitCraftServer/packages/game/src/game/reducer_helpers/timer_helpers.rs:17
Function
now_plus_duration
(duration: Duration, now: Timestamp)
BitCraftServer/packages/global_module/src/game/reducer_helpers/timer_helpers.rs:17
Function
now_plus_millis
(millis: u64, now: Timestamp)
BitCraftServer/packages/global_module/src/game/reducer_helpers/timer_helpers.rs:9
Function
npc_ai_agent_loop
(ctx: &ReducerContext, _timer: NpcAiLoopTimer)
BitCraftServer/packages/game/src/agents/npc_ai_agent.rs:37
Method
num_neighbors_in_radius
(radius: i32)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:192
Method
num_tiles_in_radius
(radius: i32)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:184
Method
num_tiles_in_ring
(radius: i32)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:188
Function
offset_coordinates
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/game_state/game_state_filters.rs:13
Function
offset_coordinates_float
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/game_state/game_state_filters.rs:27
Method
on_added_to_toolbelt
(ctx: &ReducerContext, actor_id: u64, item_id: i32)
BitCraftServer/packages/game/src/game/entities/player_state.rs:407
Function
on_durability_zero
(_ctx: &ReducerContext, _timer: OnDurabilityZeroTimer)
BitCraftServer/packages/game/src/game/handlers/server/on_durability_zero.rs:43
Function
on_inter_module_message_processed
(ctx: &ReducerContext, id: u64, error: Option<String>)
BitCraftServer/packages/game/src/inter_module/reducers.rs:115
Function
on_inter_module_message_processed
(ctx: &ReducerContext, id: u64, error: Option<String>)
BitCraftServer/packages/global_module/src/inter_module/reducers.rs:112
Method
on_knowledge_acquired
No longer a reducer
BitCraftServer/packages/game/src/game/entities/equipment_preset_state.rs:10
Method
on_removed_from_toolbelt
(ctx: &ReducerContext, actor_id: u64, item_id: i32)
BitCraftServer/packages/game/src/game/entities/player_state.rs:455
Method
on_sign_in
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/alert_state.rs:50
Method
on_updated_toolbelt
(ctx: &ReducerContext, actor_id: u64, previous_item_id: i32, new_item_id: i32)
BitCraftServer/packages/game/src/game/entities/player_state.rs:480
Method
opposite
(direction: HexDirection)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:68
Function
order_cancel
(ctx: &ReducerContext, request: PlayerOrderCancelRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_cancel.rs:15
Function
order_collect
(ctx: &ReducerContext, request: PlayerOrderCollectRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_collect.rs:15
Function
order_edit_buy_order
(ctx: &ReducerContext, request: PlayerEditOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_edit_buy_order.rs:18
Function
order_edit_sell_order
(ctx: &ReducerContext, request: PlayerEditOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_edit_sell_order.rs:18
Function
order_post_buy_order
(ctx: &ReducerContext, request: PlayerPostOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_post_buy_order.rs:22
Function
order_post_sell_order
(ctx: &ReducerContext, request: PlayerPostOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_post_sell_order.rs:22
Method
owns_claim
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_state.rs:314
Method
parent_large_tile
(&self)
BitCraftServer/packages/game/src/game/coordinates/float_hex_tile.rs:116
Function
parse_staticdata_tables
(file_path)
BitCraftServer/packages/game/utility/refactor_client.py:251
Method
partial_cmp
(&self, other: &Self)
BitCraftServer/packages/game/src/game/coordinates/chunk_coordinates.rs:91
Method
passengers_iter
DAB Note: was not able to conciliate the new spacetimedb signature with the lifetimes etc.
BitCraftServer/packages/game/src/game/entities/deployable_state.rs:18
Function
passive_craft_cancel
(ctx: &ReducerContext, passive_craft_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/player_craft/passive_craft_cancel.rs:13
← previous
next →
2,601–2,700 of 3,290, ranked by callers