Candide.GameModels.Controllers.CropController
Type JSONpublic class in Candide.GameModels.Controllers
Type metadata
- Assembly
Romestead - Namespace
Candide.GameModels.Controllers - Base type
System.Object - Hash
347BE75ACE6046B18F94E7CC8C7200BDBA49E9A332F74B6642C4420B59F161FB
Relationships
Base type
System.Object
Methods
CleanUp
#
public System.Void CleanUp()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4289EF76E26490BDF3EEF32CF358B3A8F20B4355B271D99CF7B6B19B61B012FB - Body hash
354C8613EB7B4E3D099618791FBC037C5D30FDAD32688180F328E4C277697DC7 - IL size11
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::Clear()
DryFarmland
#
public System.Void DryFarmland(System.Collections.Generic.List<Microsoft.Xna.Framework.Point> tilePositions)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D57E92FB93277F83DB7BDE406124674FC36279FF19E2AAAFE196523ECB1515EB - Body hash
5EE9910811F4F34CACD72B10A458BEB53E9D34B4360073509EC2A095EA858810 - IL size65
Referenced calls
System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::GetEnumerator()List.Enumerator<Microsoft.Xna.Framework.Point>::get_Current()System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::TryGetValue(!0, !1&)List.Enumerator<Microsoft.Xna.Framework.Point>::MoveNext()System.IDisposable::Dispose()
ForgetCrops
#
public System.Void ForgetCrops(Microsoft.Xna.Framework.Rectangle tileBounds)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2DB2A09187075F563F3B99ADA83E724866454BE767223494F36C2C733BCFCCA4 - Body hash
352CF7AEFE6945BFE97ABC01F0310B6936613D26A6D010A2A350FDA31773017A - IL size74
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::get_Keys()Dictionary.KeyCollection<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::GetEnumerator()Dictionary.KeyCollection.Enumerator<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::get_Current()Microsoft.Xna.Framework.Rectangle::Contains(Microsoft.Xna.Framework.Point)System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::Remove(!0)Dictionary.KeyCollection.Enumerator<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::MoveNext()System.IDisposable::Dispose()
PlaceCrop
#
public System.Void PlaceCrop(Microsoft.Xna.Framework.Point tilePosition, System.String cropId, System.Int32 stage, System.Boolean isWild, System.Boolean plantedByPlayer)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
BCA1BF767A8488F6A5E205CF67CF444A85529025BE9594FD463C49D395A7D813 - Body hash
23C74DC0F165BEF4418373295CC665A2E03CB48FE5296E57B3DEAC9E4B98D9CD - IL size93
Referenced calls
Candide.GameModels.Models.ClientCropModel::.ctor()Candide.GameModels.Controllers.CropController::SetCrop(System.String, System.Int32, Candide.GameModels.Models.ClientCropModel)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Point)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Sound.SoundPlayer::Play3DEventOneShot(System.String, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)
Called by
String literals
event:/environment/plant_seed
ReceiveCrop
#
public System.Void ReceiveCrop(CandideServer.MessageModels.Crops.CropDataMessage msg)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
355B4D991E6C8CE20F69900C2933EAD14A880536721B2ACCBDA0B07B0B28139E - Body hash
E19B1AB5D4689FF59CB03C0757756A89BAB9F8CF15AC10C25010AF6BCDE8EF42 - IL size82
Referenced calls
Candide.GameModels.Models.ClientCropModel::.ctor()Candide.GameModels.Controllers.CropController::SetCrop(System.String, System.Int32, Candide.GameModels.Models.ClientCropModel)
RemoveCrop
#
public System.Void RemoveCrop(Microsoft.Xna.Framework.Point tilePosition)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
694392FE307889E41B87A9024496ECBDF2F2DC893B5BF2BB81B602DAEB152BAE - Body hash
7A1131295D049CC6AEC6AF1CA033BD6B759F9C015020686A644ACA99879E2C53 - IL size47
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::Remove(!0)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)Candide.GameModels.Controllers.WorldTileController::FillRectangle(Microsoft.Xna.Framework.Rectangle, System.Nullable<WorldTile.GroundType>, System.Nullable<WorldTile.StructureType>)
SetCrop
#
private System.Void SetCrop(System.String cropId, System.Int32 stage, Candide.GameModels.Models.ClientCropModel crop)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1397359F851A0D865C5ECE76FC602FD2BB5CBCD411DFFC6BC5549371B4EA6FD8 - Body hash
6AEF11DB6C2347C9AB57489990BAF2EA8E035C5AC584CD7AFA44365867E70BC9 - IL size118
Referenced calls
CandideServer.Database.CropDataBase::GetCropOrNull(System.String)Candide.Database.CropDisplayDataBase::GetCropDisplayDataOrNull(System.String)Candide.GameModels.Models.ClientCropModel::SetStage(System.Int32)Candide.GameModels.Models.ClientCropModel::Water()System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::set_Item(!0, !1)Shared.Models.WorldTile[,]::Address(System.Int32, System.Int32)
SyncFullGameState
#
public System.Void SyncFullGameState(CandideServer.ServerServices.GetFullGameStateResponse model)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
01CBF0BED7099481A9E8723F35C9976101E446D2BACA772E5E4BD93988595681 - Body hash
45DC6ACEB526950DA9D4D3D1EE6CEEAE25783325C64E712784F0C0CFCBF2F231 - IL size6
Referenced calls
UpdateCrop
#
public System.Void UpdateCrop(Microsoft.Xna.Framework.Point tilePosition, System.Int32 stage)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
27BF4BDA0EE1B09F27FCDC23305092ECD15F9BD5553151DD6EB599CEA0A27D4A - Body hash
DA2D294C3BBC62B92188ED6D5A82BD5B38F234E7D5620AEBA49F8872B3D864EC - IL size24
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::TryGetValue(!0, !1&)Candide.GameModels.Models.ClientCropModel::SetStage(System.Int32)
WaterCrops
#
public System.Void WaterCrops(System.Collections.Generic.List<Microsoft.Xna.Framework.Point> tilePositions)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
8597DA0723B3354DA5EA82BDDED5271DB8878DB4A412E6BEE4C50702432C9F9C - Body hash
43C4053604926054005672F513CB08DB2F5410FDEF61AF2E2BFCFB1BD8A2537B - IL size64
Referenced calls
System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::GetEnumerator()List.Enumerator<Microsoft.Xna.Framework.Point>::get_Current()System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, Candide.GameModels.Models.ClientCropModel>::TryGetValue(!0, !1&)Candide.GameModels.Models.ClientCropModel::Water()List.Enumerator<Microsoft.Xna.Framework.Point>::MoveNext()System.IDisposable::Dispose()