CandideServer.Database.CropDataBase
Type JSONpublic class in CandideServer.Database
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Database - Base type
System.Object - Hash
48F381774771D37D074512A255B73F7B775DCB26B60FB9E293F06D1293CFD7A5
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
CropDataMap# | public | public System.Collections.Generic.Dictionary<System.String, CandideServer.Data.DataModels.CropData> CropDataMap |
Methods
AddCrops
#
public System.Void AddCrops(System.Collections.Generic.List<CandideServer.Data.DataModels.CropData> cropList)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
DC066DED927B9254EFE1B6387CD537432D7B4DD666535A4298F1848DCE15D38F - Body hash
F0AF077FE99B9B31A269F53F59A5BE9662F4F61EE15BD5169B9320D65E1BAA25 - IL size96
Referenced calls
System.Collections.Generic.List<CandideServer.Data.DataModels.CropData>::GetEnumerator()List.Enumerator<CandideServer.Data.DataModels.CropData>::get_Current()System.Collections.Generic.Dictionary<System.String, CandideServer.Data.DataModels.CropData>::ContainsKey(!0)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.String, CandideServer.Data.DataModels.CropData>::set_Item(!0, !1)List.Enumerator<CandideServer.Data.DataModels.CropData>::MoveNext()System.IDisposable::Dispose()
String literals
Detected duplicate crop id ''.
GetCropOrNull
#
public CandideServer.Data.DataModels.CropData GetCropOrNull(System.String id)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Data.DataModels.CropData - StaticTrue
- VirtualFalse
- Hash
03DF58E11849CA28E902858AA9E93B139D34ACFEBAC8EFBF759A418E52195E6D - Body hash
9A313D59DCDD6517F01FE592BC8E4163C9130B9FCA94CA00A2F1006FDFE8D8B0 - IL size22
Referenced calls
System.Collections.Generic.Dictionary<System.String, CandideServer.Data.DataModels.CropData>::TryGetValue(!0, !1&)
Called by
CandideServer.ServerControllers.CropServerController::AfterWorldGameStateLoadedCandideServer.ServerControllers.CropServerController::CanSpawnCropCandide.GameModels.Controllers.CropController::SetCropCandide.GameModels.Models.Spells.PlaceCropSpell::CanCastCandide.GameModels.Models.Spells.PlaceCropSpell::Cast