Romestead Assembly Reference

CandideServer.Models.InternalResourceStorageModel

Type JSON

public class in CandideServer.Models

Methods13
Properties0
Fields6
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.Models
  • Base typeSystem.Object
  • Hash0B5DB69A4B3A109B8381F343F5E86316DE935613511E78C2EF6B2AAB0B452528

Relationships

Fields

NameVisibilitySignature
DefaultAllEmptypublicpublic System.Collections.Generic.Dictionary<System.String, System.Int32> DefaultAllEmpty
DefaultHiddenInternalBuildingMaximumspublicpublic System.Collections.Generic.Dictionary<System.String, System.Int32> DefaultHiddenInternalBuildingMaximums
Idpublicpublic System.Guid Id
MaximumNullValuepublicpublic System.Int32 MaximumNullValue
MaximumResourceAmountspublicpublic System.Collections.Generic.Dictionary<System.String, System.Int32> MaximumResourceAmounts
ResourceAmountspublicpublic System.Collections.Generic.Dictionary<System.String, System.Int32> ResourceAmounts

Methods

CanAdjustByAmount

public System.Boolean CanAdjustByAmount(System.String resourceId, System.Int32 value)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashF2D5B91B8B8ED3D9D8DC6AEA271C160BFD917449A333FF9FFA66DBF1C186B2CC
  • Body hashF9D2054F2CE87CEA419BA0C560B5E09D73CFF47B465E737A0EFABEDA1380FC72
  • IL size69
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)
Called by

CanAdjustByConstructionMaterialsAggregate

public System.Boolean CanAdjustByConstructionMaterialsAggregate(Shared.Models.Construction.ConstructionMaterialsAggregate aggregate)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashB8664F360E53258C4F895A18F780EE9669FFAAD09FF91389CE483F8E16219F37
  • Body hash02CA50791BF2B3D0036C9404FA91E32B2C12FE05DE36449A1121E6D5037FB5FE
  • IL size77
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Key()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Value()
  • CandideServer.Models.InternalResourceStorageModel::CanAdjustByAmount(System.String, System.Int32)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()
Called by

CanRegisterResource

public System.Boolean CanRegisterResource(System.String resourceId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashFCF0EE04C2A16BB3A1FAFD33346459CD53BDBD57F8648611955A611B457DA0DB
  • Body hashD8123ABB6741E59B1AFBE3D5E078485334499066410BE8B18F75BDDD5E884F37
  • IL size23
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::ContainsKey(!0)
Called by

GetMaximumAmount

public System.Nullable<System.Int32> GetMaximumAmount(System.String resourceId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Nullable<System.Int32>
  • StaticFalse
  • VirtualFalse
  • HashDD8D5820407D44BDB55B52732F113350368B15D1DD892B45B7488576F948ADF3
  • Body hash5804E75EFDE6A57B56464650982B86AD854D9669077F14A3B31FED07F6433BF5
  • IL size44
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)
  • System.Nullable<System.Int32>::.ctor(!0)
Called by

GetResourceAmount

public System.Int32 GetResourceAmount(System.String resourceId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • HashC6EDC7F84E8DBA52B48B9E9A3BB345641BB18CE764BEC3E7DDD813B9C254C3DB
  • Body hashA5EE44ECAB2D8087DBBD5EE6A8870162005467063F8685CE32888C24F23E40C9
  • IL size20
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)
Called by

GetSpaceLeft

public System.Int32 GetSpaceLeft(System.String resourceId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • Hash4B7C0B7503F17ACE8B2240ACBA31BDDD849B19429B2D751F597E19CC1A9E845F
  • Body hash04E757730940F94DF7557E5635C1766810D05BD9E652181A386511B1A280411C
  • IL size54
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)
Called by

IsEmpty

public System.Boolean IsEmpty()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash80FD44954768E7C024CC46CF3065BF49E2D164CD259F577E0F25DA4C974403EF
  • Body hashC80417E119329F74C1E3A8D2225AAFD63D5308D627EC0DFB2F7AA141459876B7
  • IL size72
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()
Called by

ToResourceAmountsArray

public Shared.Models.Items.ResourceAmount[] ToResourceAmountsArray()

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Items.ResourceAmount[]
  • StaticFalse
  • VirtualFalse
  • Hash274AE7ADAE4CAED29C6A7A2204C536F63FFCD04BAC9F435FE92C89F578B050B3
  • Body hash9AFFA7FE2D40EAD5114AC45E8EDABB2814434B4E4D4FD9B4FB8E834B56A308A2
  • IL size118
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Count()
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::Deconstruct(!0&, !1&)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()
Called by

ToResourceAmountsUpdates

public System.ValueTuple<System.String, System.Int32>[] ToResourceAmountsUpdates(System.Collections.Generic.HashSet<System.String> changedResourceIds)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.String, System.Int32>[]
  • StaticFalse
  • VirtualFalse
  • Hash20B336F073BF04985CBD8839A35D14D80A7C23E1DF3650FAEE5102E5082C24B0
  • Body hash2C794142DA1F84059229E43F2EB747194D47356C1C5AD6C79FD1C92EA9DEB931
  • IL size82
Referenced calls
Called by

ToString

public System.String ToString()

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticFalse
  • VirtualTrue
  • Hash3C3DD2A014CD70135CCEEC91A2F2DC8877575351CB874EB0D4BF481DEDC0F287
  • Body hash380AC096732CC266EA6AEB3473B36DF612DDA71C3BE9A152574CF1FE0B480C6D
  • IL size304
Referenced calls
  • System.Text.StringBuilder::.ctor()
  • StringBuilder.AppendInterpolatedStringHandler::.ctor(System.Int32, System.Int32, System.Text.StringBuilder)
  • StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(!!0)
  • StringBuilder.AppendInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Text.StringBuilder::AppendLine(StringBuilder.AppendInterpolatedStringHandler&)
  • System.Text.StringBuilder::AppendLine(System.String)
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)
  • StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(System.String)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Text.StringBuilder::Append(System.String)
  • System.Object::ToString()
String literals
  • - IRS
  • [
  • /??
  • /
  • ]

TryAddAmountOrRegisterNewResource

public System.Boolean TryAddAmountOrRegisterNewResource(System.String resourceId, System.Int32 toAdd)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashCF7C54DDE71EB56C934247C602A4A324B3B051324DCF2D3C38A0A6BABE5AA504
  • Body hashCAFCA592B31BC9A6823A3B5347B613E2ECA338D33B0E1B28031FD30F8633DC20
  • IL size78
Referenced calls
Called by
String literals
  • Parameter toAdd is negative

TryAdjustByAmount

public System.Boolean TryAdjustByAmount(System.String resourceId, System.Int32 amount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash3A2C8AB611ABAB5E8A97F9E4C34365079F0F7531A44129FA0213DB2C5F00929E
  • Body hashE0A2E6584E571A7DFD1ACFC72748896BB1D1AD1D2A8965232B2BAC8A0DBD4108
  • IL size39
Referenced calls
Called by

TryRegisterResource

public System.Boolean TryRegisterResource(System.String resourceId, System.Int32 startAmount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash92F75C59284FB0EDD1FDBDA04167FC092D0D0176407638E57380721F4146C707
  • Body hashC7FB100F9C39723541E4DD8B30982E764A965A94E525068E86D1E068137D27C9
  • IL size26
Referenced calls