CandideServer.ServerControllers.CropServerController
Type JSONpublic class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
186B7B098EF043652A803CCAE3A8B2D79C5C30920CAB9D258F73B9B8CA90C159
Relationships
Base type
System.Object
Methods
AfterWorldGameStateLoaded
#
public System.Void AfterWorldGameStateLoaded()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
83143419EEB06840E535D68B970EE9378A3004F216A45DBD001CCDEDDA8DA6D9 - Body hash
2FDA0E2984B796FF0776EB9B9B4EF62131D07ED407D0FACD9CE81B31BB68A4A0 - IL size141
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::get_Values()Dictionary.ValueCollection<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::get_Current()CandideServer.Database.CropDataBase::GetCropOrNull(System.String)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.ServerControllers.CropServerController::RemoveCrop(Microsoft.Xna.Framework.Point)CandideServer.Models.CropServerModel::get_FullyGrown()System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point>::Add(!0)Dictionary.ValueCollection.Enumerator<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::MoveNext()System.IDisposable::Dispose()
String literals
Could not find crop datawhen loading world.
CanSpawnCrop
#
public System.Boolean CanSpawnCrop(Microsoft.Xna.Framework.Point tilePosition, System.String cropId, System.Boolean spawnAnywhere, out CandideServer.Data.DataModels.CropData& cropData)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
93EA9762C91C2E35519C4558F331559B3CE1DD439B9FCC8EA14EBC8811E787AF - Body hash
E9D9BC0F2EDC294768163C3C0BE995D471222DAF51D0596CC1329312F8D16794 - IL size37
Referenced calls
FarmlandDried
#
public System.Void FarmlandDried(CandideServer.Models.CropServerModel crop)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
83714432FD3EDC2FB46B880053675A80D9C886F9272E6EAD4334D7A054A10E4D - Body hash
C876CECE68CBF55173A25B14BE0354C7EB69D36895BD70BAE464D26D1BA9FA45 - IL size8
HarvestRegrowableCrop
#
public System.Void HarvestRegrowableCrop(CandideServer.Models.CropServerModel crop)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
70793EAD37FE95DEBF28D43E9B2B7CC80898906539391E9D55628228BA0A15D5 - Body hash
7CDEE429788D1CA763B9AE157CF7B498A5959BE16138C2E5F7D8B0F309678934 - IL size48
Referenced calls
System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point>::Add(!0)
RemoveCrop
#
public System.Boolean RemoveCrop(Microsoft.Xna.Framework.Point tilePosition)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
E694956E7599804CFE41BADAB3C2007645F383B53108E85C79A3C76DC2FB3C1C - Body hash
0B731B0E672CCA6FED17D5BCE567A616FE1E13E755E7E0171E5C0CBAAB5697F2 - IL size97
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::Remove(!0)System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point>::Remove(!0)CandideServer.Models.ServerChunkedWorld::TileToChunkPosition(Microsoft.Xna.Framework.Point)CandideServer.Models.ServerChunkedWorld::GetWorldChunk(Microsoft.Xna.Framework.Point)Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)Microsoft.Xna.Framework.Rectangle::.ctor(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)System.Nullable<WorldTile.StructureType>::.ctor(!0)CandideServer.ServerControllers.WorldTilesServerController::FillRectangle(Microsoft.Xna.Framework.Rectangle, System.Nullable<WorldTile.GroundType>, System.Nullable<WorldTile.StructureType>)
Called by
CandideServer.ServerControllers.CropServerController::AfterWorldGameStateLoadedCandideServer.ServerManagers.CropServerManager::ClearCropCandideServer.ServerManagers.CropServerManager::CropGrownCandideServer.ServerManagers.CropServerManager::HarvestCropCandideServer.ServerManagers.CropServerManager::HarvestCropAndGetDroppedGoods
SharedCanSpawnCrop
#
public CropServerController.CanPlantCropResult SharedCanSpawnCrop(CandideServer.Data.DataModels.CropData cropData, Microsoft.Xna.Framework.Point tilePosition, System.Boolean spawnAnywhere, Shared.Models.WorldTile[,] worldTiles, System.String[,] biomeIds)
Method metadata
- Visibilitypublic
- Return type
CropServerController.CanPlantCropResult - StaticTrue
- VirtualFalse
- Hash
C030237C4C8BE6AFA8E7638FFD7E3CF49E08AE89B90DD4E777DCC2A23C52291D - Body hash
91D6486022ADD7B1A9E89E847B61914E891E70FA9F1BCA00E245B1C5133988D8 - IL size253
Referenced calls
System.Array::GetLength(System.Int32)Shared.Models.WorldTile[,]::Get(System.Int32, System.Int32)Shared.Data.GroundTileFlagsExtension::HasFlags(Shared.Data.GroundTileFlags, Shared.Data.GroundTileFlags)System.String[,]::Get(System.Int32, System.Int32)CandideServer.Database.BiomeDataBase::TryGetBiomeData(System.String, CandideServer.Data.DataModels.BiomeData&)System.String::op_Equality(System.String, System.String)System.Collections.Generic.List<System.String>::Contains(!0)
Called by
String literals
flat
SpawnCrop
#
public CandideServer.Models.CropServerModel SpawnCrop(Microsoft.Xna.Framework.Point tilePosition, System.String cropId, System.Boolean grown, System.Boolean wild, Microsoft.Xna.Framework.Vector2 pixelOffset)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.CropServerModel - StaticTrue
- VirtualFalse
- Hash
E780DA741BD3F7627668455F77D11B7B208461ADBEC96F96535420DC279B0323 - Body hash
905F5AC771AE5EACB7276BE7A8004ED733E9F730AF7BFC12D1F18C00C7EFBBA7 - IL size153
Referenced calls
CandideServer.ServerControllers.CropServerController::CanSpawnCrop(Microsoft.Xna.Framework.Point, System.String, System.Boolean, CandideServer.Data.DataModels.CropData&)CandideServer.Models.CropServerModel::.ctor()System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::set_Item(!0, !1)System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Point>::Add(!0)CandideServer.Models.ServerChunkedWorld::TileToChunkPosition(Microsoft.Xna.Framework.Point)CandideServer.Models.ServerChunkedWorld::GetWorldChunk(Microsoft.Xna.Framework.Point)
WaterCrop
#
public System.Void WaterCrop(CandideServer.Models.CropServerModel crop)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
13B5BC940F108FF6A320C739D703B04E5750284DD59BAB7135DE3287A259F3F0 - Body hash
91333696CFB235CC99FE4717C6007041A6646DFB2ED8BD60784142994EE46C05 - IL size8