Shared.Models.Construction.ConstructionMaterialsAggregate
Type JSONpublic class in Shared.Models.Construction
Type metadata
- Assembly
Shared - Namespace
Shared.Models.Construction - Base type
System.Object - Hash
568FCA5E41FC7217D1F3CADC2E98A63D0DED29587BA4E4DE8436916FA2C58B5A
Relationships
Base type
System.Object
Derived types
Referenced by types
CandideServer.Entities.ServerEntityModelCandideServer.Helpers.BucketEntityHelperCandideServer.MessageModels.Logistics.GetAvailableResourcesForBuildingIdResponseCandideServer.Models.InternalResourceStorageModelCandideServer.ServerControllers.InternalResourceStorageSControllerCandideServer.ServerManagers.BuildingsServerManagerCandideServer.ServerManagers.LogisticsServerManagerCandide.CandideUI.ConstructionsUi.ConstructionDetailsDisplayWindowCandide.CandideUI.ConstructionsUi.ConstructionModeSelectionWindowCandide.CandideUI.JobUiNew.State.JobOrdersStateCandide.CandideUI.UserControls.ResourceDisplayControlCandide.CandideUI.UserControls.ResourceRequirementsControl
Fields
| Name | Visibility | Signature |
|---|---|---|
MaterialAmounts# | public | public System.Collections.Generic.Dictionary<System.String, System.Int32> MaterialAmounts |
Properties
| Name | Visibility | Signature |
|---|---|---|
IsEmpty# | public | public System.Boolean IsEmpty |
Methods
AddMaterialAmount
#
public System.Void AddMaterialAmount(System.String resourceId, System.Int32 amount)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D695DDEA2513D5E5B9A5E38BEDA5E175B6ECA782975FAEF7AE8950AEFA69DCF4 - Body hash
5044E718F18A05690DEADAEF80E205E5D0637EC7B63727AD7E21BFE72253015A - IL size41
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::TryAdd(!0, !1)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)
Called by
CandideServer.Buildings.BuildingControllers.AbstractBuildingController::TryMoveInternalResourcesBackThroughRequestingInputsCandide.CandideUI.JobUiNew.State.JobOrdersState::GetReservedItemsAggregateCandide.CandideUI.JobUiNew.State.JobOrdersState::GetReservedResourceAggregateCandide.CandideUI.JobUiNew.UserControls.JobResourcesAndItemsUserControl::SetWorkOrdersStateCandide.GameModels.Controllers.JobsController::CanAffordWorkOrder
AddMaterialAmounts
#
public System.Void AddMaterialAmounts(Shared.Models.Construction.ConstructionMaterialsAggregate materialsAggregate)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
17AA2A6586C4F0E5861CDAB6D0F84C0606F972F28E12CAB1C9C5A6F1296CDC17 - Body hash
6D2B9475F090B30AD37BDA799562D5019B8EEDBD28A4416E6523FBF323ACFAB5 - IL size13
Referenced calls
AddMaterialAmounts
#
public System.Void AddMaterialAmounts(System.Collections.Generic.Dictionary<System.String, System.Int32> materialsAggregate)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
79B2BB57D06648B853544353BC3FD29E5BF35B353B5F23CBE9B3F0B72893C0FC - Body hash
29C3379832F1E15020620C775F724EA43EDAC652473F460C7C6CE7F4C3075B47 - IL size114
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Keys()Dictionary.KeyCollection<System.String, System.Int32>::GetEnumerator()Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::get_Current()System.Collections.Generic.Dictionary<System.String, System.Int32>::ContainsKey(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()
Called by
CandideServer.Buildings.BuildingControllers.AbstractBuildingController::TryMoveInternalResourcesBackThroughRequestingInputsCandide.CandideUI.JobUiNew.UserControls.JobResourcesAndItemsUserControl::SetWorkOrdersStateCandide.GameModels.Controllers.JobsController::CanAffordWorkOrderCandide.PlayerMode.Construction.ConstructionContext::OnStorageGettersUpdateShared.Models.Construction.ConstructionMaterialsAggregate::AddMaterialAmounts
EmptyAll
#
public System.Void EmptyAll()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
72D0F307636C52E7B5FFD68BFBD7ADA8B2C4BD9BBF979A7A00F7E30E02D615AE - Body hash
6566AF44B856FFF6A721B4629733423B0D07E29C60BED240174E56880A088196 - IL size12
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::Clear()
EmptyAllExcept
#
public System.Void EmptyAllExcept(System.String resourceId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BC6A94DBFD0F5FB55FBE081EB5BA1A9EF31DFB9B47A4388F074CE31D77178B4E - Body hash
57E4C081111F3D1196DAB3A9B30A318FD4D09E4B52F079B344F05D6742775D68 - IL size75
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Keys()Dictionary.KeyCollection<System.String, System.Int32>::GetEnumerator()Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::get_Current()System.String::op_Equality(System.String, System.String)System.Collections.Generic.Dictionary<System.String, System.Int32>::Remove(!0)Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()
Called by
CandideServer.Entities.Controllers.ServerBucketController::SetContentTypeCandideServer.Helpers.BucketEntityHelper::SetEmptyCandideServer.Helpers.BucketEntityHelper::TrySetBucketParametersCandideServer.ServerManagers.BuildingsServerManager::TryDepositResourceEntityIntoStorageCandide.Entities.Controllers.Legacy.BucketController::SetContentType
EqualOrGreaterThan
#
public System.Boolean EqualOrGreaterThan(Shared.Models.Construction.ConstructionMaterialsAggregate compAggregate)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
8DDD30887162ADBFEAF94B9A96D7B213DEF8BBCCFCA5AD5FCC793C416BAE1760 - Body hash
01ABF8EC8A418CAB9372667CFB7B850B3B7C37F3A8E1C89C7EBCAF96347B55F3 - IL size95
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Keys()Dictionary.KeyCollection<System.String, System.Int32>::GetEnumerator()Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::get_Current()System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()
GetAmountForResource
#
public System.Int32 GetAmountForResource(System.String id)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
85E37F4783A9FAF99E38DEA3386C3DCB1F4BAFDF149DB903FDEE9FE553DAF017 - Body hash
2775B9CB6BD1810253DB4528B3F0741B5B6EF85C7AC4B44E6C33A2A0D8B46D2C - IL size20
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::TryGetValue(!0, !1&)
Called by
CandideServer.Citizens.GenericServerCitizenController::ConstructionSiteHasAllRequiredResourcesCandideServer.Entities.Controllers.ServerBasicFurnaceController::CheckIfEntityIsValidCandideServer.Entities.Controllers.ServerBrickOvenController::TossBucketOutCandideServer.Entities.Controllers.ServerBrickOvenController::UpdateCandideServer.Entities.Controllers.ServerFlintController::OtherEntityCanHurtFlintCandideServer.Entities.Controllers.ServerInteriorFurnaceController::CheckIfEntityIsValidCandideServer.Entities.ControllerSets.VulcanPuzzles.ServerVulcanOfferingPlatformController::CheckEntitiesCandideServer.Helpers.BucketEntityHelper::TryGetBucketContentFromEntityCandideServer.Helpers.BucketEntityHelper::TryGetBucketContentFromEntityCandideServer.Helpers.BuildingFurnaceHelper::ConsumeFuelEntitiesAndItemsCandideServer.ServerControllers.EntitySController::SetBucketContentCandideServer.ServerManagers.ConstructionSitesServerManager::TryBuildConstructionSiteCandide.CandideUI.UserControls.ResourceDisplayControl::AvailableResourcesChangedCandide.CandideUI.UserControls.ResourceRequirementsControl::AvailableResourcesChangedCandide.Entities.Controllers.Legacy.TreeController::ClearEntityOnStubCandide.Entities.Controllers.Other.BasicFurnaceController::CanCookEntityCandide.Entities.Controllers.Other.Buildings.PermanentStubController::ClearEntityOnStubCandide.Entities.Controllers.Other.Buildings.PermanentStubController::OnServerSetState
RemoveMaterialAmount
#
public System.Void RemoveMaterialAmount(System.String resourceId, System.Int32 amountToRemove)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E062F5A42BC17030311CB4B06E3D2B14F538050EA695A2A1286C96C4B2A8BBE4 - Body hash
0CD0188E9F40BF262469202A25C6B6A0F7A1F7E68505EA73E8D8AF97FF3427CA - IL size41
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::TryAdd(!0, !1)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)
RemoveMaterialAmounts
#
public System.Void RemoveMaterialAmounts(Shared.Models.Construction.ConstructionMaterialsAggregate materialsAggregate)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
5B5DF0C893B9E9EF7F133DBA4E9D2CB504FE1CF8C4F396E115EEEF1A226432D6 - Body hash
93CA4997926D7833652E9DE9EE2F4F81AB08B85D61EB804B1B58B460CABF28C2 - IL size13
Referenced calls
RemoveMaterialAmounts
#
public System.Void RemoveMaterialAmounts(System.Collections.Generic.Dictionary<System.String, System.Int32> materialsAggregate)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
1E4560DA43469B4E78B960DFB7F59AF0469AB5ED3A35728FD47150A20E932645 - Body hash
44A9034749973FAAB51E801FE5D4F27B180597557C74C1EB53B4762D4C543FB8 - IL size115
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Keys()Dictionary.KeyCollection<System.String, System.Int32>::GetEnumerator()Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::get_Current()System.Collections.Generic.Dictionary<System.String, System.Int32>::ContainsKey(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)Dictionary.KeyCollection.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()