Romestead Assembly Reference

Candide.GameModels.Controllers.InternalResourceStorageController

Type JSON

public class in Candide.GameModels.Controllers

Methods10
Properties0
Fields3
Events1
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Controllers
  • Base typeSystem.Object
  • Hash5E2DCCFA0E4AD0540CF25FC5317F12444040197E4FF65498DDC7A91949234355

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
IgnoreEventspublicpublic System.Boolean IgnoreEvents
ServerListenerAmountpublicpublic System.Collections.Generic.Dictionary<System.Guid, System.Int32> ServerListenerAmount
StorageChangedprivateprivate InternalResourceStorageController.GameStateActiveInternalResourceStorageChanged StorageChanged

Events

NameVisibilitySignature
StorageChangedpublicpublic InternalResourceStorageController.GameStateActiveInternalResourceStorageChanged StorageChanged

Methods

DecreaseListenerAmount

private System.Void DecreaseListenerAmount(System.Guid storageId)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash21F94DB5AD979D6DE88EEC2A080EEE19512D4FA0AE2761F1F59F26E9DDE6465D
  • Body hash5ECD73399A68E10C767F78967E39F120AB5B88B8FC38F2061B3909D252383DFC
  • IL size130
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::TryAdd(!0, !1)
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::get_Item(!0)
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::set_Item(!0, !1)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
Called by
String literals
  • InternalResourceStorageController
  • : Server listener amount for storage ID
  • went to less than 0

IncrementListenerAmount

public System.Void IncrementListenerAmount(System.Guid storageId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashC0DD95117343F03E0E55D60EE6B676B28C1E1ED677AFE3AF3BBC9E9651332877
  • Body hashF05548E590BD8BD3D7C47B406705B9C513CA26D51319E19E45214501E1902FAA
  • IL size38
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::TryAdd(!0, !1)
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::get_Item(!0)
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::set_Item(!0, !1)
Called by

InvokeStorageChanged

public System.Void InvokeStorageChanged(Candide.GameModels.Models.InternalResourceStorage storage)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash4745D29608604B10E5888A952F2469D6908CAF65793F447864E8196AD40B0AF1
  • Body hashD1259D3E9ADC7C15849E28595FC7205D5B34A1154F03BDFBEE00C62188A5B018
  • IL size18
Referenced calls
Called by

InvokeStorageChanged

public System.Void InvokeStorageChanged(System.Guid id, Candide.GameModels.Models.InternalResourceStorage storage)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA806B727CAD201BDF39B5FF92099F7D97F77C425FFEF9D9785E3E3053B743C7C
  • Body hash1A9389D22F40AC66C84C9028464C5C88FC22579A31193945CDFA5CFF65F0B86A
  • IL size30
Referenced calls
Called by

RegisterOrUpdateActiveStorage

public Candide.GameModels.Models.InternalResourceStorage RegisterOrUpdateActiveStorage(CandideServer.Models.InternalResourceStorageModel model, System.Nullable<System.Guid> homeBuildingId)

Method metadata
  • Visibilitypublic
  • Return typeCandide.GameModels.Models.InternalResourceStorage
  • StaticTrue
  • VirtualFalse
  • HashD3EEC1296D3674672BD3FEE3409ED265B82C38FBA888BE02F4C83D17754F3591
  • Body hash48FEEA8751F8FAFD977411E1063C93A72829D076E6B32FC951CD8CE7146EDD9D
  • IL size262
Referenced calls
Called by
String literals
  • RegisterOrUpdateActiveStorage
  • : InternalResourceStorage requested home building ID set but we could not find it in the local game state. Storage ID
  • and Building ID
  • We lost the building but didn't lose the resource storage

SyncFullGameState

public System.Void SyncFullGameState()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashC3F7EAB005B8A028431E3CA6DA893B0441C930AF4B1CE1724CBB5A0475163BDE
  • Body hash2857E71B95DB5247F50A4D4AB1086B039F4BD7C28CE437C4F92602367D15048A
  • IL size21
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.InternalResourceStorage>::Clear()
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::Clear()
Called by

SyncStorageRemoved

public System.Void SyncStorageRemoved(System.Guid id)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash19D884B1951DEA93860D4E93D356705E45DD7623664131A95BE93C92F8C99222
  • Body hashC03FD3B9D3392389C4AC31EA6E36231A2941B012B4E0DB1EC63166A780321310
  • IL size25
Referenced calls
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.InternalResourceStorage>::Remove(!0)
  • System.Collections.Generic.Dictionary<System.Guid, System.Int32>::Remove(!0)
Called by

UnregisterActiveStorage

public System.Void UnregisterActiveStorage(System.Guid id)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA3489DD5332CAA585AF57219F2BC72A80EE85C55A3CDEB6E07D7014319E47AAB
  • Body hash3B7EF3FDB8FBA22B6CE8CE440D34634616D61060192808E73E66E45A048F5F3E
  • IL size39
Referenced calls
Called by

UpdateActiveStorage

public Candide.GameModels.Models.InternalResourceStorage UpdateActiveStorage(CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage update, System.Boolean sendInvokeStorageChanged)

Method metadata
  • Visibilitypublic
  • Return typeCandide.GameModels.Models.InternalResourceStorage
  • StaticTrue
  • VirtualFalse
  • HashD3381D4BCF36F53274824ECD8A514597D7DC7F12F6F243497CAECDDF94EAF67F
  • Body hash9A978FF9CAA623D2EE58C5B8444F4758F9D9CD6D283032DD868E2010FE4454B7
  • IL size232
Referenced calls
Called by
String literals
  • Couldn't find InternalResourceStorage with ID
  • We received an update for MaximumResourceAmountsUpdates but the storage in the local GameState does not have a MaximumRe

UpdateActiveStorages

public System.Void UpdateActiveStorages(System.Collections.Generic.IEnumerable<CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage> updates)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash776F4F89C8A74213F962667120C9EFCF44ADE52F465DCE9C44D5B90DF827F06E
  • Body hashA05F4BACD3A4C90D0C769905DB6B447B87DEC71DD145DC16B8643E777B03EC22
  • IL size105
Referenced calls
Called by