Romestead Assembly Reference

CandideServer.ServerManagers.InternalResourceStorageServerManager

Type JSON

public class in CandideServer.ServerManagers

Methods6
Properties0
Fields1
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • Hash2B1D54E1B751B1A7EA7F6BEEF947BA78C2AB4BB9DFD36A3BED0B428B5543ADE8

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
ReuseSpawnEntitiesListprivateprivate System.Collections.Generic.List<CandideServer.MessageModels.Entities.RequestSpawnEntityMessage> ReuseSpawnEntitiesList

Methods

DropStorageAndDelete

public System.Void DropStorageAndDelete(System.Guid storageId, Microsoft.Xna.Framework.Vector3 worldPosition, System.Guid worldId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0DE598E0C6F63FCF69AEAA0F148578346A52CE4D17D4998A33DD46268F8A96CC
  • Body hash7B745ECE9A87CEB04A0FF22646C401142C1619DBACA594D512584746846F4AEE
  • IL size357
Referenced calls
Called by

MoveWhateverPossibleFromSourceToDestination

public System.Void MoveWhateverPossibleFromSourceToDestination(CandideServer.Models.InternalResourceStorageModel sourceResourceInventory, CandideServer.Models.InternalResourceStorageModel targetResourceInventory, Shared.Models.Items.ResourceAmount[] moveResourcesArray, System.Int32 moveResourcesCount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash759C9C6ADA83464DFFFF4FEA18827674A710882D094034E6832C0F45D1B6F4AC
  • Body hash31A90B43AFB35FFAE9A52A634A865AD65AAE84218F57F9ECE7AFD8B583D2CA83
  • IL size36
Referenced calls

SendMultipleUpdatedStorageResourceAmounts

public System.Void SendMultipleUpdatedStorageResourceAmounts(System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>> changedStorageResourceIds)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashBF029D2A1436571FB8F1A7FCE546BB2C76CDCAFE41123F1CDC02F90DB51BE9F5
  • Body hash723B92A955A203AF599194D67256A39C2D974A12D656EB1963C30A93C23D50F4
  • IL size212
Referenced calls
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::get_Count()
  • System.Collections.Generic.List<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::GetEnumerator()
  • List.Enumerator<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::get_Current()
  • System.Collections.Generic.HashSet<System.String>::get_Count()
  • System.Collections.Generic.HashSet<System.String>::GetEnumerator()
  • HashSet.Enumerator<System.String>::get_Current()
  • CandideServer.Models.InternalResourceStorageModel::GetResourceAmount(System.String)
  • System.ValueTuple<System.String, System.Int32>::.ctor(!0, !1)
  • HashSet.Enumerator<System.String>::MoveNext()
  • System.IDisposable::Dispose()
  • CandideServer.MessageModels.InternalResourceStorage.UpdateInternalResourceStorageChangedMessage::.ctor()
  • List.Enumerator<System.ValueTuple<CandideServer.Models.InternalResourceStorageModel, System.Collections.Generic.HashSet<System.String>>>::MoveNext()
  • CandideServer.MessageModels.InternalResourceStorage.UpdateManyInternalResourceStorageChangedMessage::.ctor()
  • CandideServer.ServerServices.InternalResourceStorageServerService::Send_InternalResourceStorageChanged(CandideServer.MessageModels.InternalResourceStorage.UpdateManyInternalResourceStorageChangedMessage)
Called by

SendUpdatedStorageResourceAmounts

public System.Void SendUpdatedStorageResourceAmounts(CandideServer.Models.InternalResourceStorageModel sourceResourceInventory, CandideServer.Models.InternalResourceStorageModel targetResourceInventory, System.Collections.Generic.HashSet<System.String> changedSourceResourceIds, System.Collections.Generic.HashSet<System.String> changedTargetResourceIds)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6282D65C96504739720B6DEBDE6EBE1DF166C985F4FB0E5B8127993A233493F0
  • Body hash458344A681E1B70C6FB58EF8A8AFBD43C397C53D9B42DCD1E4C62FDEFDA6A247
  • IL size248
Referenced calls
Called by

TryRemoveResources_Destructive

public System.Boolean TryRemoveResources_Destructive(CandideServer.Models.InternalResourceStorageModel storageModel, Shared.Models.Items.ResourceAmount[] resourceAmounts)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash5946F36B40B61252331BA8ADF420507ACA698217B9204B0739B221640053C178
  • Body hashD8C003F34D6066F7D60ABE1F4BB89A4F248E2AE47A08A19EFA37C68278395624
  • IL size22
Referenced calls

TryUpdateStorage

public System.Boolean TryUpdateStorage(CandideServer.Models.InternalResourceStorageModel storageModel, System.String resourceId, System.Int32 amount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash9B73FE286C0026C2D5451A48E468CF3F05BEFD2637E003C877384338B91A95D6
  • Body hashFF079FB5553184EB0B17F2FE97F71BE9BC633D826EACCA0FC778B78F08D3FE5B
  • IL size22
Referenced calls
Called by