MCPcopy Create free account

hub / github.com/clockworklabs/BitCraftPublic / functions

Functions3,290 in github.com/clockworklabs/BitCraftPublic

Methodmove_player_and_explore_unsafe
( ctx: &ReducerContext, entity_id: u64, start_coordinates: &FloatHexTile, targ
BitCraftServer/packages/game/src/game/entities/player_state.rs:132
Methodmul
(self, other: i32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2int.rs:52
Methodmul
(self, other: f32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:52
Methodmul
(self, other: i32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2int.rs:30
Methodmul
(self, other: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:52
Methodnegative_infinity
()
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:74
Methodnegative_infinity
()
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:74
Methodneighbor_n
(&self, direction: HexDirection, n: i32)
BitCraftServer/packages/game/src/game/coordinates/small_hex_tile.rs:235
Methodnew
()
BitCraftServer/packages/game/src/game/location_cache.rs:38
Methodnew
(center: HexCoordinates, radius: i32)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:450
Methodnew
(noise_specs: &WorldGenNoiseSpecs, offset_min_max_value: f32)
BitCraftServer/packages/game/src/game/world_gen/noise_specs.rs:15
Methodnew
()
BitCraftServer/packages/game/src/game/world_gen/noise_map.rs:16
Methodnew
(land_shape_definition: &WorldGenLandShapeDefinition)
BitCraftServer/packages/game/src/game/world_gen/land_shape_definition.rs:19
Methodnew
(river_generation_settings: WorldGenRiverGenerationSettings)
BitCraftServer/packages/game/src/game/world_gen/river_generation_settings.rs:17
Methodnew
(dx: f64, dy: f64)
BitCraftServer/packages/game/src/game/world_gen/open_simplex_noise.rs:73
Methodnew
(noise_based_elevation_layer: WorldGenNoiseBasedElevationLayer)
BitCraftServer/packages/game/src/game/world_gen/noise_based_elevation_layer.rs:17
Methodnew
(width: usize, depth: usize)
BitCraftServer/packages/game/src/game/world_gen/world_generation/hex_graph.rs:23
Methodnew
(ctx: &ReducerContext, world_definition: &mut WorldDefinition)
BitCraftServer/packages/game/src/game/world_gen/world_generation/world_graph.rs:32
Methodnew
(x: i32, z: i32)
BitCraftServer/packages/game/src/game/world_gen/world_generation/entity_node.rs:23
Methodnew
(source_lake_index: usize, target_lake_index: usize)
BitCraftServer/packages/game/src/game/world_gen/world_generation/river.rs:15
Methodnew
(x: i32, z: i32)
BitCraftServer/packages/game/src/game/world_gen/world_generation/terrain_node.rs:25
Methodnew
(ctx: &ReducerContext, identity: Identity, grace_period_type: GracePeriodType)
BitCraftServer/packages/game/src/game/handlers/queue/end_grace_period.rs:29
Methodnew
(ctx: &ReducerContext, entity_id: u64, resource_growth_recipe_desc: ResourceGrowthRecipeDesc)
BitCraftServer/packages/game/src/game/entities/growth_state.rs:16
Methodnew
(ctx: &ReducerContext, owner_entity_id: u64, ability: AbilityType)
BitCraftServer/packages/game/src/game/entities/ability_state.rs:13
Methodnew
(ctx: &ReducerContext, owner_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/dropped_inventory_state.rs:82
Methodnew
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/game/src/game/entities/character_stats.rs:15
Methodnew
(entity_id: u64)
BitCraftServer/packages/game/src/game/entities/targetable_state.rs:8
Methodnew
(entity_id: u64, offset_coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/game/src/game/entities/location.rs:53
Methodnew
( ctx: &ReducerContext, ordained_entity_id: u64, allowed_entity_id: u64, group
BitCraftServer/packages/game/src/game/entities/permission_state.rs:19
Methodnew
(ctx: &ReducerContext, entity_id: u64, region: Option<WorldRegionState>)
BitCraftServer/packages/game/src/game/entities/exploration_chunks_state.rs:10
Methodnew
(ctx: &ReducerContext, enemy_ai_params_desc_id: i32)
BitCraftServer/packages/game/src/game/entities/herd_state.rs:8
Methodnew
( ctx: &ReducerContext, vote_type: PlayerVoteType, initiator_entity_id: u64, p
BitCraftServer/packages/game/src/game/entities/player_vote_state.rs:16
Methodnew
(ctx: &ReducerContext, enemy_type: EnemyType, herd_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/enemy_state.rs:12
Methodnew
(ctx: &ReducerContext, item_id: i32, item_type: ItemType, quantity: i32)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:23
Methodnew
(ctx: &ReducerContext, alert_type: AlertType, player_entity_id: u64, target_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/alert_state.rs:12
Methodnew
(entity_id: u64, attack_ids: Vec<i32>)
BitCraftServer/packages/game/src/game/entities/combat_state.rs:4
Methodnew
( ctx: &ReducerContext, owner_entity_id: u64, building_entity_id: u64, buildin
BitCraftServer/packages/game/src/game/entities/progressive_action_state.rs:11
Methodnew
(ctx: &ReducerContext, owner_entity_id: u64, action_id: i32)
BitCraftServer/packages/game/src/game/entities/action_state.rs:6
Methodnew
( ctx: &ReducerContext, num_pockets: i32, item_pocket_volume: i32, cargo_pocke
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:90
Methodnew
(entity_id: u64)
BitCraftServer/packages/game/src/game/entities/attack_outcome_state.rs:5
Methodnew
(ctx: &ReducerContext, owner_entity_id: u64, target_entity_id: u64, threat: f32)
BitCraftServer/packages/game/src/game/entities/threat_state.rs:10
Methodnew
()
BitCraftServer/packages/game/src/game/generic/pathfinder.rs:17
Methodnew
(player_entity_id: u64)
BitCraftServer/packages/game/src/game/discovery/mod.rs:19
Methodnew
(x: i32, y: i32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2int.rs:85
Methodnew
(x: f32, y: f32)
BitCraftServer/packages/game/src/game/unity_helpers/vector2.rs:81
Methodnew
()
BitCraftServer/packages/game/src/inter_module/_autogen.rs:164
Methodnew
()
BitCraftServer/packages/game/src/table_caches/location_state_cache.rs:14
Methodnew
(location_cache: &'a mut LocationStateCache)
BitCraftServer/packages/game/src/table_caches/claim_tile_state_cache.rs:14
Methodnew
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
Methodnew
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
Methodnew
(entity_id: u64, offset_coordinates: OffsetCoordinatesSmall)
BitCraftServer/packages/global_module/src/game/entities/location.rs:43
Methodnew
( ctx: &ReducerContext, vote_type: PlayerVoteType, initiator_entity_id: u64, p
BitCraftServer/packages/global_module/src/game/entities/player_vote_state.rs:17
Methodnew
(x: i32, y: i32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2int.rs:52
Methodnew
(x: f32, y: f32)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:81
Methodnew
()
BitCraftServer/packages/global_module/src/inter_module/_autogen.rs:164
Methodnew_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
Methodnew_from_placeable
(ctx: &ReducerContext, entity_id: u64, placeable_growth_desc: PlaceableGrowthDesc)
BitCraftServer/packages/game/src/game/entities/growth_state.rs:27
Methodnew_ignore_durability
(item_id: i32, item_type: ItemType, quantity: i32)
BitCraftServer/packages/game/src/game/entities/item_stack.rs:46
Methodnew_proto
(def: WorldGenWorldDefinition)
BitCraftServer/packages/game/src/game/world_gen/world_definition.rs:38
Methodnew_proto
(val: WorldGenAnimationCurveKeyframe)
BitCraftServer/packages/game/src/game/unity_helpers/animation_curve.rs:7
Methodnew_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
Methodnew_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
Methodnew_with_index
( ctx: &ReducerContext, num_pockets: i32, item_pocket_volume: i32, cargo_pocke
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:57
Methodnew_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
Methodnext
(&mut self)
BitCraftServer/packages/game/src/game/terrain_chunk.rs:269
Methodnext
(&mut self)
BitCraftServer/packages/game/src/game/coordinates/hex_coordinates.rs:474
Methodnext_flat
(direction: HexDirection)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:100
Methodnext_free_pocket
(&self, item_type: ItemType)
BitCraftServer/packages/game/src/game/entities/inventory_state.rs:32
Methodnext_n
(direction: HexDirection, n: i32)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:88
Methodnormalized
(self)
BitCraftServer/packages/global_module/src/game/unity_helpers/vector2.rs:101
Functionnow_plus_duration
(duration: Duration, now: Timestamp)
BitCraftServer/packages/game/src/game/reducer_helpers/timer_helpers.rs:17
Functionnow_plus_duration
(duration: Duration, now: Timestamp)
BitCraftServer/packages/global_module/src/game/reducer_helpers/timer_helpers.rs:17
Functionnow_plus_millis
(millis: u64, now: Timestamp)
BitCraftServer/packages/global_module/src/game/reducer_helpers/timer_helpers.rs:9
Functionnpc_ai_agent_loop
(ctx: &ReducerContext, _timer: NpcAiLoopTimer)
BitCraftServer/packages/game/src/agents/npc_ai_agent.rs:37
Methodnum_neighbors_in_radius
(radius: i32)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:192
Methodnum_tiles_in_radius
(radius: i32)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:184
Methodnum_tiles_in_ring
(radius: i32)
BitCraftServer/packages/game/src/game/entities/claim_description.rs:188
Functionoffset_coordinates
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/game_state/game_state_filters.rs:13
Functionoffset_coordinates_float
(ctx: &ReducerContext, entity_id: u64)
BitCraftServer/packages/global_module/src/game/game_state/game_state_filters.rs:27
Methodon_added_to_toolbelt
(ctx: &ReducerContext, actor_id: u64, item_id: i32)
BitCraftServer/packages/game/src/game/entities/player_state.rs:407
Functionon_durability_zero
(_ctx: &ReducerContext, _timer: OnDurabilityZeroTimer)
BitCraftServer/packages/game/src/game/handlers/server/on_durability_zero.rs:43
Functionon_inter_module_message_processed
(ctx: &ReducerContext, id: u64, error: Option<String>)
BitCraftServer/packages/game/src/inter_module/reducers.rs:115
Functionon_inter_module_message_processed
(ctx: &ReducerContext, id: u64, error: Option<String>)
BitCraftServer/packages/global_module/src/inter_module/reducers.rs:112
Methodon_knowledge_acquired
No longer a reducer
BitCraftServer/packages/game/src/game/entities/equipment_preset_state.rs:10
Methodon_removed_from_toolbelt
(ctx: &ReducerContext, actor_id: u64, item_id: i32)
BitCraftServer/packages/game/src/game/entities/player_state.rs:455
Methodon_sign_in
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/alert_state.rs:50
Methodon_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
Methodopposite
(direction: HexDirection)
BitCraftServer/packages/game/src/game/coordinates/hex_direction.rs:68
Functionorder_cancel
(ctx: &ReducerContext, request: PlayerOrderCancelRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_cancel.rs:15
Functionorder_collect
(ctx: &ReducerContext, request: PlayerOrderCollectRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_collect.rs:15
Functionorder_edit_buy_order
(ctx: &ReducerContext, request: PlayerEditOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_edit_buy_order.rs:18
Functionorder_edit_sell_order
(ctx: &ReducerContext, request: PlayerEditOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_edit_sell_order.rs:18
Functionorder_post_buy_order
(ctx: &ReducerContext, request: PlayerPostOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_post_buy_order.rs:22
Functionorder_post_sell_order
(ctx: &ReducerContext, request: PlayerPostOrderRequest)
BitCraftServer/packages/game/src/game/handlers/player/order_post_sell_order.rs:22
Methodowns_claim
(ctx: &ReducerContext, player_entity_id: u64)
BitCraftServer/packages/game/src/game/entities/player_state.rs:314
Methodparent_large_tile
(&self)
BitCraftServer/packages/game/src/game/coordinates/float_hex_tile.rs:116
Functionparse_staticdata_tables
(file_path)
BitCraftServer/packages/game/utility/refactor_client.py:251
Methodpartial_cmp
(&self, other: &Self)
BitCraftServer/packages/game/src/game/coordinates/chunk_coordinates.rs:91
Methodpassengers_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
Functionpassive_craft_cancel
(ctx: &ReducerContext, passive_craft_entity_id: u64)
BitCraftServer/packages/game/src/game/handlers/player_craft/passive_craft_cancel.rs:13
← previousnext →2,601–2,700 of 3,290, ranked by callers