Romestead Assembly Reference

Candide.GameModels.Managers.EquipmentManager

Type JSON

public class in Candide.GameModels.Managers

Methods9
Properties0
Fields3
Events1
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Managers
  • Base typeSystem.Object
  • Hash592D6B3839E6168155964F82F6C914D83E81D9C04D78D2C6C72117C8DDC0A991

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
EquipmentsChangedprivateprivate EquipmentManager.GameStateEquipmentsChanged EquipmentsChanged
IgnoreEventspublicpublic System.Boolean IgnoreEvents
_lastInventoryModelprivateprivate System.Nullable<System.Guid>[] _lastInventoryModel

Events

NameVisibilitySignature
EquipmentsChangedpublicpublic EquipmentManager.GameStateEquipmentsChanged EquipmentsChanged

Methods

AnalyticsPrintSourceAndTargetInventories

private System.Void AnalyticsPrintSourceAndTargetInventories(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Text.StringBuilder sb)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6BC215CE6EE5F626260ED901A0723DF55BFDC5A77F58F042836EC61A8F6EF30B
  • Body hash1B0B780A77DD5BA68E8D3F6F161925478064F6DF74C2B45DE361BEF46771B733
  • IL size185
Referenced calls
  • StringBuilder.AppendInterpolatedStringHandler::.ctor(System.Int32, System.Int32, System.Text.StringBuilder)
  • StringBuilder.AppendInterpolatedStringHandler::AppendLiteral(System.String)
  • Candide.Globals::get_LanguageCode()
  • StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(System.String)
  • Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()
  • StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Collections.Generic.Dictionary<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::get_Count()
  • System.Text.StringBuilder::AppendLine(StringBuilder.AppendInterpolatedStringHandler&)
  • System.Text.StringBuilder::AppendLine(System.String)
  • System.Text.StringBuilder::Append(System.Object)
  • System.Text.StringBuilder::AppendLine()
  • System.Object::ToString()
  • Shared.Analytics.AnalyticsManager::TrackError(System.String)
String literals
  • AnalyticsPrintSourceAndTargetInventories() Language:
  • Playing on controller:
  • Multiplayer:
  • Is host:
  • SOURCE INVENTORY
  • TARGET INVENTORY

InvokeEquipmentsChanged

public System.Void InvokeEquipmentsChanged(Candide.GameModels.Models.Items.SimpleInventory inventory, System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemInstanceModel> equippedItems)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashBE9A567418D71D91F575C909606BDA0947E8AF9EBFF00A528F16CA194860F211
  • Body hash733D07AC6830F405277E7CA0BDE7AFD251EA9C2CEB287A080353760FEBC5CAE8
  • IL size19
Referenced calls
Called by

InvokeEquipmentsChanged

public System.Void InvokeEquipmentsChanged(System.Guid id, Candide.GameModels.Models.Items.SimpleInventory inventory, System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemInstanceModel> equippedItems)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash8592F5AC81B533E0AE762F3DEE24D4FA14172E07D8DFA2EDDAE234CECDFC7664
  • Body hash2E0F92B294B7FED8F5B40F9E610C76FCE8B9EA0EC01C762F83F42A82E340EE4C
  • IL size228
Referenced calls
  • System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemInstanceModel>::get_Count()
  • Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)
  • System.Collections.Generic.IEnumerable<Shared.Models.Items.ItemInstanceModel>::GetEnumerator()
  • System.Collections.Generic.IEnumerator<Shared.Models.Items.ItemInstanceModel>::get_Current()
  • Shared.Models.Items.ItemInstanceModel::get_Data()
  • System.Nullable<Shared.Models.Items.EquipmentType>::.ctor(!0)
  • System.Nullable<Shared.Models.Items.EquipmentType>::get_HasValue()
  • System.Nullable<Shared.Models.Items.EquipmentType>::GetValueOrDefault()
  • System.Collections.IEnumerator::MoveNext()
  • System.IDisposable::Dispose()
  • System.Array::Empty()
  • Candide.GameModels.Managers.GameStateEquipmentsChangedArgs::.ctor(System.Guid, Candide.GameModels.Models.Items.SimpleInventory, System.Collections.Generic.IReadOnlyCollection<Shared.Models.Items.ItemInstanceModel>)
  • EquipmentManager.GameStateEquipmentsChanged::Invoke(Candide.GameModels.Managers.GameStateEquipmentsChangedArgs)
Called by
String literals
  • event:/interface/player inventory/ui_inventory_equip_general
  • event:/interface/player inventory/ui_inventory_equip_weapon
  • event:/interface/player inventory/ui_inventory_equip_armor

OnEquipmentInventorySynced

public System.Void OnEquipmentInventorySynced(Candide.GameModels.Models.Items.SimpleInventory simpleInventory)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB5C156A2B483B7510D35CF97B5BE4282AA52BD24F92E72995EEC3A1832149588
  • Body hash502D010FD462F38C7E53F03802AFB77B6388C237807169B45CC761A5151245B6
  • IL size302
Referenced calls
Called by

PlayUnequipSound

private System.Void PlayUnequipSound(Shared.Models.Items.EquipmentType equipmentType)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash75F2036254CADF06E968E32FCACFBD4EE997E7C06595C392E288F76F1C98FC1C
  • Body hashFFC0B9405E2118D669046EED82AE3D2FEA2BFAC127B4127F2E9C001DF32FFD30
  • IL size57
Referenced calls
Called by
String literals
  • event:/interface/player inventory/ui_inventory_unequip_weapon
  • event:/interface/player inventory/ui_inventory_unequip_armor

SwitchWeapons

public System.Void SwitchWeapons()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash2CC126D066C5B235F1FB20D2E87F8CB9A6D886A42B0FFC30309659D961B51A4D
  • Body hash6045BFCC22B591D6E6F756522DC5F81494F1B829278C2F34F041B8E9D621930E
  • IL size364
Referenced calls
Called by
String literals
  • SwitchWeapons
  • : Result was

TryEquip

public System.Boolean TryEquip(System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid equipmentInventoryId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashC1047CAA35DD8392C42407766095445E0B2BCBEFCA91C4D753FE4F88790D0B99
  • Body hash6EEACF9779C205171DE86D9CBAB9D2BB344C4B155A429A67181EC04D91E3BB5C
  • IL size287
Referenced calls
Called by
String literals
  • TryEquip
  • , arrows: Result was
  • TryEquip: Failed TryEquipAndSwapAction

TryEquipAndSwapAction

public System.Boolean TryEquipAndSwapAction(System.Guid sourceInventoryId, System.Int32 sourceSlotIndex, System.Guid equipmentInventoryId, System.Int32 equipmentSlotIndex, System.Boolean sourceToEquipment)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash20F2F03B2A15A92C2CFE4F10DEFB42C870F0A4BCABA4D636A975264097D70296
  • Body hashA206DE239EA48536C0107AF9698303F453C321063DF6198F6E9F3B66B7A54D32
  • IL size425
Referenced calls
Called by
String literals
  • TryEquipAndSwapAction: Item in equipment is not equippable?
  • TryEquipAndSwapAction
  • : Couldn't find slot for extra equipment type
  • TryEquipAndSwapAction: Failed to equip.

TryUnequipItem

public System.Boolean TryUnequipItem(Candide.GameModels.Models.Items.SimpleInventory equipmentInventory, Candide.GameModels.Models.Items.SimpleInventory targetInventory, System.Int32 equipmentSlotIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashC68F81DBAD99E4E81EACB586E8CD33A539A0BECB6864ACAE2EADE18CC2ED756D
  • Body hash9642954238C07ACCF80E03D1EE73B71DDF93C83245144EF11DD126155F4AB09E
  • IL size174
Referenced calls
Called by
String literals
  • Gui_Warning_InventoryFull
  • TryUnequipItem
  • : Result was