Romestead Assembly Reference

CandideServer.Helpers.LogisticalBuildingHelper

Type JSON

public class in CandideServer.Helpers

Methods7
Properties0
Fields1
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.Helpers
  • Base typeSystem.Object
  • HashC401A66DE44F2E33D55507C7C07D81448E251DFEA60E20AE91AB95CC3AEADE39

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
ReuseUpdatesListprivateprivate System.Collections.Generic.Dictionary<System.Guid, System.Collections.Generic.HashSet<System.String>> ReuseUpdatesList

Methods

Building_CheckSpaceExistsForAddItem

public System.Boolean Building_CheckSpaceExistsForAddItem(CandideServer.ServerControllers.AddItemAmountMessage msg, Shared.Models.Items.SharedInventoryModel existingInventory)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash305044A37C526004FD9329370B7D0077731A5A62E5C57189F34DC2F4FD73C275
  • Body hash81CB76E1249D0C28E77EE5DBEEA99972E880B9100052C9D0EE0DD858E36E8476
  • IL size63
Referenced calls
Called by
String literals
  • Sam, check here. ExistingInventory is null but we don't expect it to be.

Building_TryAddItemAmount

public System.Boolean Building_TryAddItemAmount(Shared.Models.Items.SharedInventoryModel inventory, System.String itemId, System.Int32 addAmount, System.String auraId, System.Boolean allowPartialStack, System.Nullable<System.Int32> targetFirstSlot, System.Collections.Generic.HashSet<System.Int32> changedInventoryIndices)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashF3CEDCE50F97928A606252BB113D89D5331C6563DFFE9D0CF389E3E3EC8F6021
  • Body hashC7447A97AE6D3DB52FCFFAE288A4474A410F4BA17A8A6496250D63943D6E58D1
  • IL size28
Referenced calls
Called by

CanDepositItemIntoOutput

public System.Boolean CanDepositItemIntoOutput(CandideServer.Models.Buildings.BuildingInstanceModel building, System.String itemId, System.Int32 amount, System.String auraId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashB02E6039D99EF14929E0EEB41A587FE151B0F5B9D1C58D651AEA63C644BE1753
  • Body hash37638A061320E36F83B9CC4B226B98FF7A5AE5C00EFB0BB647F2CA1D87E54F77
  • IL size190
Referenced calls
Called by
String literals
  • CanDepositItemIntoOutput: Data was null for
  • CanDepositItemIntoOutput
  • : Building
  • doesn't have an output inventory to output

CanDepositResourceIntoOutput

public System.Boolean CanDepositResourceIntoOutput(CandideServer.Models.Buildings.BuildingInstanceModel building, System.String resourceId, System.Int32 amount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashF456F4C2C4FB7A6BCA176A3383F1A8E4551DD1766258756316E6E25593EF8B39
  • Body hash5AC5C0C3A562618815289F7437F9908B2053EC8563CAF456DE76AE5B0B91912D
  • IL size60
Referenced calls
Called by

SummarizeAvailableStuffForBuilding

public System.ValueTuple<System.Collections.Generic.Dictionary<System.String, System.Int32>, System.Collections.Generic.Dictionary<System.String, System.Int32>> SummarizeAvailableStuffForBuilding(CandideServer.SimulationModels.BuildingSimulationModel building, System.Boolean checkInternalItems, System.Boolean checkInternalResources)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Collections.Generic.Dictionary<System.String, System.Int32>, System.Collections.Generic.Dictionary<System.String, System.Int32>>
  • StaticTrue
  • VirtualFalse
  • Hash7F38C4F2873B0C380A976DEC8144B29003D46807DE87173C2AE42754F7289697
  • Body hash7CA11FEBA6EFFD8668874049B0083A3F6CC0DF7C32DA25414018BC22AC258B18
  • IL size759
Referenced calls
Called by

TryDepositResource

public System.Boolean TryDepositResource(CandideServer.Models.Buildings.BuildingInstanceModel building, System.Boolean checkInternalInputStorage, System.Boolean checkInternalOutputStorage, System.String resourceId, System.Int32 amount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash5A64D899C05F10B86FF4320EB20D0A0A7CA0B39974E31A0CCF8CBF96B8FB3EDD
  • Body hash6CA65F1D8B4FCB457D76AB85D0D915A89916D22B1FE5F45D129FA62B53050859
  • IL size112
Referenced calls
Called by

TryDepositResourcesFromOneToSeveral_Destructive

public System.Boolean TryDepositResourcesFromOneToSeveral_Destructive(System.Guid sourceStorageId, System.Collections.Generic.IEnumerable<System.Guid> buildingIds, System.String targetBuildingType, CandideServer.Helpers.IOType ioType, System.Collections.Generic.Dictionary<System.String, System.Int32> resourceAmounts)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash464035C4E4B9F6C7E95B57AF028FD1210C09C07CAE9093FEA03087594CA8EC97
  • Body hashBC799C00FD665F1E127F06A4B3121ED73D60DB23A83B68440D953153249CBCC9
  • IL size553
Referenced calls
Called by
String literals
  • ioType