CandideServer.Buildings.BuildingControllers.BeehiveBuildingController
Type JSONpublic class in CandideServer.Buildings.BuildingControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Buildings.BuildingControllers - Base type
CandideServer.Buildings.BuildingControllers.AbstractBuildingController - Hash
7EFA54A5CA3741664AB58E53E950DD5BCF670EC6807827C162DB1BB592ADAD14
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
_beehiveId# | private | private System.Guid _beehiveId |
_progress# | private | private System.Single _progress |
_recipeId# | private | private System.String _recipeId |
Methods
GetSpawnPositionForCitizen
#
public CandideServer.Buildings.BuildingControllers.CitizenPositionData GetSpawnPositionForCitizen(CandideServer.Models.Citizen.CitizenModel citizen, CandideServer.Models.Citizen.CitizenSlotModel slot)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Buildings.BuildingControllers.CitizenPositionData - StaticFalse
- VirtualTrue
- Hash
68C2D86D3DC7B08162D903EDDBC7DD4335FE1B8819A0707F2C2090E760648D5C - Body hash
3D8A5B728ED20254B685DC7988E7868D07615F5142CC0C133B7F4A419B25E55F - IL size6
Referenced calls
System.NotImplementedException::.ctor()
OnBuildingRemove
#
public System.Void OnBuildingRemove()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
68BAF1ECFE892B7A016F11E3300F230F97ACAD169E3B84060B99FB5FFFD9D18C - Body hash
17DE0B5DF8FDC416831D176BEA74F152AC04847AA2360CE64856A4526BB76140 - IL size156
Referenced calls
CandideServer.Buildings.BuildingControllers.AbstractBuildingController::OnBuildingRemove()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)CandideServer.ServerManagers.WorldItemServerManager::SpawnNewItemAsWorldItem(System.String, System.Int32, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Guid, System.Nullable<System.Int32>, System.Nullable<System.Guid>, System.String, System.Nullable<System.Int32>)
OnLoaded
#
public System.Void OnLoaded()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B63E00640175D10027842D294C78B62549FF781CC0466E1D8CCFD84F2A46DE12 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
OnNewlyCreated
#
public System.Void OnNewlyCreated()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5A4B7A27E5BA3BF5F171670E9C48F695CB11B175C713FE03AAD43C815BBA2B98 - Body hash
29C3D4AF530F7E8DD25E5178FCCF3B439BC84F6262B110829599E10BC0E75555 - IL size392
Referenced calls
System.Guid::NewGuid()Shared.Messages.CreateNewInventoryMessage::.ctor()Shared.Text.StringId::op_Implicit(System.String)CandideServer.ServerControllers.BuildingsSController::CreateBuildingInventory(CandideServer.Models.Buildings.BuildingInstanceModel, Shared.Messages.CreateNewInventoryMessage, CandideServer.ServerControllers.IOInventoryCreationType)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Shared.Data.BuildingDataBase::GetBuildingOrNull(System.String)System.Collections.Generic.Dictionary<System.String, System.String>::TryGetValue(!0, !1&)System.String::Concat(System.String, System.String)CandideServer.Exceptions.BuildingLoadException::.ctor(System.String)CandideServer.ServerControllers.SpawnEntityArgs::.ctor()System.Guid::Parse(System.String)System.Collections.Generic.Dictionary<System.String, System.String>::.ctor()System.Object::ToString()System.Collections.Generic.Dictionary<System.String, System.String>::Add(!0, !1)CandideServer.ServerManagers.EntityServerManager::SpawnEntity(CandideServer.ServerControllers.SpawnEntityArgs)System.Collections.Generic.List<System.Guid>::Add(!0)
String literals
Buildings_Outputbeehive_recipebase_guidBeehiveBuildingController: Can't find beehive_recipe or base_guid parameter for buildingbuilding_id
OnTickJob
#
protected System.Void OnTickJob(CandideServer.Models.Citizen.CitizenModel citizen, CandideServer.Models.JobModel job)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
38F5EB51ACC4B3D974CCFD653E8B2E2B6BB0A7BDA60E9E2FBFB5764B1142F7EC - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5D35B246C1A318E980B2BF163B90A09FE334AB56026334551F5002EDCC283057 - Body hash
9099C592BFDC2EA14DB7817CE47236682FFC3BE9C516B2BEB1E6FAF9198923BF - IL size471
Referenced calls
System.Nullable<System.Guid>::get_HasValue()CandideServer.ServerGameState::TryGetServerEntity(System.Guid, CandideServer.Entities.ServerEntityModel&, System.String)Shared.Entity.EntityWrapper::get_Controller()Shared.Data.WorkRecipeDataBase::GetRecipeOrNull(System.String)Shared.Data.ItemDataBase::GetItemDataOrNull(System.String)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.SharedInventoryModel>::get_Item(!0)Shared.Inventory.DeltaModels.InventoryHelper::CanAddItemAmount_IgnoreFilter(Shared.Models.Items.SharedInventoryModel, Shared.Models.Items.ItemData, System.Int32, System.Boolean, System.Int32&)System.ArgumentOutOfRangeException::.ctor()CandideServer.ServerManagers.SimpleInventoryServerManager::TryAddItemAmounts(System.Guid, System.String, System.Int32, System.String, System.Boolean, System.Nullable<System.Int32>, System.Boolean)CandideServer.Entities.ControllerSets.Beehive.ServerBeehiveController::Building_SetProgress(System.Single)
String literals
UpdateBeehiveBuildingController: Recipe output itemdoesn't exist
UpdateJobStatus
#
protected System.Boolean UpdateJobStatus(CandideServer.Models.JobModel job)
Method metadata
- Visibilityprotected
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
34C6220192B6F33045EF280D09DAC9A5A84CBBCBDFA7093623C61CA4B4AF6022 - Body hash
E2CDC8BD55A83F129BBA1F1163CD64A9844A3B8BC1E22E5FD9644B9217AB7C8C - IL size2