Romestead Assembly Reference

CandideServer.ServerManagers.LogisticsServerManager_Repeating

Type JSON

public class in CandideServer.ServerManagers

Methods9
Properties0
Fields2
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • HashB5479B65358AD831E77459DAC4E654742BF2AB32E0CFC3CB676E72556F6737EC

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
Argsprivateprivate CandideServer.ServerManagers.RepeatingCheckBuildingDestructiveArgs Args
_changedTargetResourceIdsprivateprivate System.Collections.Generic.Dictionary<System.Guid, System.Collections.Generic.HashSet<System.String>> _changedTargetResourceIds

Methods

CheckIsDone

private System.Void CheckIsDone(CandideServer.ServerManagers.RepeatingCheckBuildingDestructiveArgs args)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB3672C9EC7A9B892266D5DAF15C9B59D3FA911831C3497949B763760C5DCEB9B
  • Body hash65C5B655792825CCA7962770C4D528FD7E1919981E7A1BF9721C181701D88647
  • IL size52
Called by

DoRepeatingLogistics

public System.Void DoRepeatingLogistics()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3EB02EE055BF233E2DED2E9DFE859E7615564E8996EA39AD9C1D1751B85E59AC
  • Body hash76587989EBF6576E03AB7E1062E813B9E6BCBD2129F3226775C83CE825724C66
  • IL size232
Referenced calls
Called by

DoRepeatingLogisticsForBuilding

private System.Void DoRepeatingLogisticsForBuilding(CandideServer.Models.Buildings.BuildingInstanceModel sourceBuilding)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3825DD7076374F333C5499781CDF9BD5FD96A1AC50C60E885847C896BEA4A771
  • Body hash439AE3967E26163C0F2B09F48C6542FD42E8E5A35D7AC4EDA0D5448EFFD66BF1
  • IL size218
Referenced calls
Called by
String literals
  • DoRepeatingLogisticsForBuilding: Failed moving items

LogisticsRepeating_Resources_CheckBuilding

public System.Void LogisticsRepeating_Resources_CheckBuilding(System.Guid buildingId, System.Nullable<System.Guid> inputStorageId, System.Nullable<System.Guid> outputStorageId, System.Boolean checkOutputs, System.Boolean checkStorage, CandideServer.ServerManagers.RepeatingCheckBuildingDestructiveArgs args)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3635323971AC137C969A3E2754842512ECAF18E38BDFB5044DDDF56CA54EB878
  • Body hash1C3DC72D43799D44AB2BFF01D4E85B7AD370C8F520C708D4B47468CBBDB2EFC3
  • IL size213
Referenced calls
Called by
String literals
  • Tried to check same building twice in LogisticsRepeating_Resources_CheckBuilding

LootAllThroughOutputConnections

private Shared.Inventory.DeltaModels.DeltaComplexResult LootAllThroughOutputConnections(System.Collections.Generic.List<System.Guid> outputConnectionIds, Shared.Models.Items.SharedInventoryModel sourceInventory, System.Boolean allowPartialStack, System.Nullable<System.Guid> sourceBuildingIdCheck)

Method metadata
  • Visibilityprivate
  • Return typeShared.Inventory.DeltaModels.DeltaComplexResult
  • StaticTrue
  • VirtualFalse
  • Hash988F0291BE35B68A70E2A8DED434DDB4C5FCB79F3BD48B76B281A7064D1E5F92
  • Body hashA17A4FEFE53A43A8EA282938BF0D092107C325641FD3C3C15319A807ADE4D6E6
  • IL size215
Referenced calls
Called by
String literals
  • Call Samuel about Items Logistics Connection

MoveStuffIntoOutputConnectionIds

public System.Boolean MoveStuffIntoOutputConnectionIds(Shared.Models.Items.SharedInventoryModel sourceInventory, CandideServer.Models.InternalResourceStorageModel sourceStorage, System.Collections.Generic.List<System.Guid> outputConnectionIds, Shared.Models.Items.ItemAmount[] itemAmounts, Shared.Models.Items.ResourceAmount[] resourceAmounts, System.Boolean allowPartialStack)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash6B675F18D14AD246BD4D26223B2C15D498781DBA4DB753254721D7D83D7E7402
  • Body hashE5314542B0068E0CF5092CC689E53777B358D1498E2548A01284F851C6B8D6AA
  • IL size641
Referenced calls
Called by
String literals
  • Money value support needs to be implemented
  • Inventory is null but itemAmounts is not empty.
  • Storage is null but resourceAmounts is not empty.
  • Partial fault inside MoveStuffIntoOutputConnectionIds. Probably we ran out of space but good to investigate.

Resources_MoveWhateverPossibleFromSourceToDestination

private System.Void Resources_MoveWhateverPossibleFromSourceToDestination(CandideServer.Models.Buildings.BuildingInstanceModel sourceBuilding, CandideServer.Models.InternalResourceStorageModel sourceOutputStorage)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash959A88F4EB6A5AD399F7FC50A4067FDE1556E2F2F58C0F3F6C71ECB2565ABE63
  • Body hash1E5E759F6DF725A2DD6AC1B74ABDED36142CE4A63A4C85BE35E4144FE4988CC6
  • IL size403
Referenced calls
Called by
String literals
  • Call Samuel about Resource Logistics Connection

TryProduceOutputAndRemoveIngredients

public CandideServer.Buildings.BuildingControllers.LogisticsResult TryProduceOutputAndRemoveIngredients(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, Shared.Models.Items.ItemAmount[] itemIngredients, Shared.Models.Items.ResourceAmount[] resourceIngredients, CandideServer.Models.InternalResourceStorageModel internalResourceStorage, CandideServer.Models.InternalResourceStorageModel outputResourceStorage, Shared.Models.Items.SharedInventoryModel storageInventory, Shared.Models.Items.SharedInventoryModel outputInventory, System.String outputCraftedId, System.Int32 amount, System.String auraId, Shared.Data.DataModels.WorkOrderType type)

Method metadata
Referenced calls
Called by
String literals
  • Couldn't find OutputInventory for
  • Error when trying to add work order output to OutputInventory
  • Couldn't find OutputStorage for
  • Error when trying to add work order output to OutputResourceStorage
  • type
  • StorageInventory disappeared after we had already checked it exists. NoCitizen
  • TryProduceOutputAndRemoveIngredients: Error when trying to remove items from the storage inventory
  • Error when trying to consume resources while finishing work order in

TryRemoveIngredients

public CandideServer.Buildings.BuildingControllers.LogisticsResult TryRemoveIngredients(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, Shared.Models.Items.ItemAmount[] itemIngredients, Shared.Models.Items.ResourceAmount[] resourceIngredients, CandideServer.Models.InternalResourceStorageModel internalResourceStorage, Shared.Models.Items.SharedInventoryModel storageInventory)

Method metadata
Referenced calls
Called by
String literals
  • StorageInventory disappeared after we had already checked it exists. NoCitizen
  • TryRemoveIngredients: Error when trying to remove items from the storage inventory
  • Error when trying to consume resources while finishing work order in