Shared.Inventory.DeltaModels.DeltaAction
Type JSONpublic struct in Shared.Inventory.DeltaModels
Type metadata
- Assembly
Shared - Namespace
Shared.Inventory.DeltaModels - Base type
System.ValueType - Interfaces
System.IEquatable<Shared.Inventory.DeltaModels.DeltaAction> - Hash
2625B8A50E2C6EFCB3A52124DCD94CBBD283E4BE453648FE08A5F2C9425EDBBF
Relationships
Base type
System.ValueType
Interfaces
System.IEquatable<Shared.Inventory.DeltaModels.DeltaAction>
Referenced by types
CandideServer.MessageModels.Equipment.SwitchWeaponsMessageCandideServer.MessageModels.Inventories.InventoryApplyDeltaMessageCandideServer.MessageModels.Inventories.InventoryApplyManyDeltaMessageCandideServer.MessageModels.Inventories.PlayerTrashItemAndApplyDeltaMessageCandideServer.ServerManagers.ServerSimpleInventoryManager_PlayerCandideServer.ServerManagers.ServerSimpleInventoryManager_ServerShared.Inventory.DeltaModels.DeltaActionTypeShared.Inventory.DeltaModels.DeltaComplexResultShared.Inventory.DeltaModels.DeltaResultShared.Inventory.InventoryApplyEngineShared.Inventory.InventoryDeltaEngineShared.Inventory.InventorySortHelper
Fields
| Name | Visibility | Signature |
|---|---|---|
Amount# | public | public System.Int32 Amount |
Empty# | public | public Shared.Inventory.DeltaModels.DeltaAction Empty |
Money# | public | public System.UInt64 Money |
SourceInventoryId# | public | public System.Guid SourceInventoryId |
SourceSlotIndex# | public | public System.Int32 SourceSlotIndex |
TargetInventoryId# | public | public System.Guid TargetInventoryId |
TargetSlotIndex# | public | public System.Int32 TargetSlotIndex |
Type# | public | public Shared.Inventory.DeltaModels.DeltaActionType Type |
Methods
Equals
#
public System.Boolean Equals(Shared.Inventory.DeltaModels.DeltaAction other)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
83449FC508C30380197A8A7B7B23E1B68929D42A4C269551288E78E61C4206BB - Body hash
7DD0FAE0A6AE5E9102DAE5315C76EEC7083ABF0CF57B6538B24D18E35C1E1DE9 - IL size172
Referenced calls
System.Collections.Generic.EqualityComparer<Shared.Inventory.DeltaModels.DeltaActionType>::get_Default()System.Collections.Generic.EqualityComparer<Shared.Inventory.DeltaModels.DeltaActionType>::Equals(!0, !0)System.Collections.Generic.EqualityComparer<System.Guid>::get_Default()System.Collections.Generic.EqualityComparer<System.Guid>::Equals(!0, !0)System.Collections.Generic.EqualityComparer<System.Int32>::get_Default()System.Collections.Generic.EqualityComparer<System.Int32>::Equals(!0, !0)System.Collections.Generic.EqualityComparer<System.UInt64>::get_Default()System.Collections.Generic.EqualityComparer<System.UInt64>::Equals(!0, !0)
Equals
#
public System.Boolean Equals(System.Object obj)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
B48B38B3A551380BC41BF50237813F6B730EFA55621CADB0B5BC4E14F64E103A - Body hash
B71F45C9696912466F3F806CE6D129391DC1BD7466F4FF7E01548038AE7323F7 - IL size23
GetHashCode
#
public System.Int32 GetHashCode()
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticFalse
- VirtualTrue
- Hash
D6556AB4287FB0B73524E8A1943E078A8118939BD5585833DF204BC6DC111A0B - Body hash
35518F4083D266B771CDCDF04F3290CE23ACE7AE77C275D97B4DBC0153CE2F91 - IL size155
Referenced calls
System.Collections.Generic.EqualityComparer<Shared.Inventory.DeltaModels.DeltaActionType>::get_Default()System.Collections.Generic.EqualityComparer<Shared.Inventory.DeltaModels.DeltaActionType>::GetHashCode(!0)System.Collections.Generic.EqualityComparer<System.Guid>::get_Default()System.Collections.Generic.EqualityComparer<System.Guid>::GetHashCode(!0)System.Collections.Generic.EqualityComparer<System.Int32>::get_Default()System.Collections.Generic.EqualityComparer<System.Int32>::GetHashCode(!0)System.Collections.Generic.EqualityComparer<System.UInt64>::get_Default()System.Collections.Generic.EqualityComparer<System.UInt64>::GetHashCode(!0)
MoveMoney
#
public Shared.Inventory.DeltaModels.DeltaAction MoveMoney(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.UInt64 moneyAmount)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
46557787BF66D200737A4F3E6A79F7501E1A9137A6E77339DB27A030BDE980F8 - Body hash
466CC181EEAB003BA18EBDB556C04083F4454EEA402BA4D403E3F844C1E7ECB7 - IL size52
MoveStackAmount
#
public Shared.Inventory.DeltaModels.DeltaAction MoveStackAmount(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex, System.Int32 amount)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
453C932A302CBD609CCB8A99387D0D8EBFDE7BC05ADED69E072092B3C22DCDE0 - Body hash
0980F321ABDC055080CB0658360491CB0043407EA0386152B7D46859858D6D85 - IL size69
PrintMembers
#
private System.Boolean PrintMembers(System.Text.StringBuilder builder)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
9785D4FA8261198145BD172F8B8F5DF9AB4FC50D09A927124108FAC948BDB7B7 - Body hash
0545C11177A96C70263EB98C40BB575873BD05F32454B9F518066A8BE0F664A0 - IL size275
Referenced calls
System.Text.StringBuilder::Append(System.String)System.Object::ToString()
String literals
Type =, TargetInventoryId =, TargetSlotIndex =, SourceInventoryId =, SourceSlotIndex =, Amount =, Money =
SplitMoneyItemIntoNewMoneyItem
#
public Shared.Inventory.DeltaModels.DeltaAction SplitMoneyItemIntoNewMoneyItem(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex, System.Int32 amount)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
3227C5D291E864B7C8E69A49A16C6D163CA40325E7E816191183D8898BA6E82D - Body hash
1DA790347E07A2074CC74D8105085359D4A76C9EBAE89BBB7CBF6C8CD86AB6E8 - IL size69
SwapItemPositions
#
public Shared.Inventory.DeltaModels.DeltaAction SwapItemPositions(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetSlotIndex)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
8E2E3B3A71391E25F77BCE8ACF8F1203C766CB2A7E652476C7BE87B27701C260 - Body hash
87547DA5A31A7A3CE688FE0DFFF6E2C2F0E34CB4EC8B65E9012104E07A6B1CFB - IL size60
ToString
#
public System.String ToString()
Method metadata
- Visibilitypublic
- Return type
System.String - StaticFalse
- VirtualTrue
- Hash
DFFF3AACA26F34DDD98C581CFE71859B9584967C3CACF05278E0C039F1A2F789 - Body hash
A0062A0D9A1776594608B58AACF084C727C5F3048F2D3FFCC276A2C28E07F1AB - IL size64
Referenced calls
System.Text.StringBuilder::.ctor()System.Text.StringBuilder::Append(System.String)Shared.Inventory.DeltaModels.DeltaAction::PrintMembers(System.Text.StringBuilder)System.Text.StringBuilder::Append(System.Char)System.Object::ToString()
String literals
DeltaAction{
TurnMoneyIntoItem
#
public Shared.Inventory.DeltaModels.DeltaAction TurnMoneyIntoItem(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetIndex, System.UInt64 moneyAmount)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
0A5368ED75DD21BD524C42770949BD70AEA52E238619CEBE5A8ADA84D50F9FD5 - Body hash
6576B5E6EACC1809FB317424EA18294BA4F3FF82F5BEBD82198DB516B032FBBE - IL size60
TurnMoneyIntoItemStackAmount
#
public Shared.Inventory.DeltaModels.DeltaAction TurnMoneyIntoItemStackAmount(Shared.Models.Items.SharedInventoryModel sourceInventory, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 targetIndex, System.UInt64 moneyAmount)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
94A0AF884F91FCC5E1E47BBDEFCB08FF716929230D3A9C941F3D98E640EBC129 - Body hash
FD3FD1539ED5C1D7F20D65CBE3EA72A168378439F8349CFD55E5318C471ABA60 - IL size60
TurnMoneyItemAmountIntoMoney
#
public Shared.Inventory.DeltaModels.DeltaAction TurnMoneyItemAmountIntoMoney(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory, System.Int32 amount)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
8C8895962811A728B4CD5D6DC62607197322E0701C12BE9D9237A0F4F6C38E82 - Body hash
83BF2B354BCFFC394ADAE62221F7D76E0634C32AC04612214BA3E2C49FCE7580 - IL size60
TurnMoneyItemIntoMoney
#
public Shared.Inventory.DeltaModels.DeltaAction TurnMoneyItemIntoMoney(Shared.Models.Items.SharedInventoryModel sourceInventory, System.Int32 sourceSlotIndex, Shared.Models.Items.SharedInventoryModel targetInventory)
Method metadata
- Visibilitypublic
- Return type
Shared.Inventory.DeltaModels.DeltaAction - StaticTrue
- VirtualFalse
- Hash
7EB8CFAE20B56C6D7ECDB81129A1FA117DC83FAD4B961CC9693064093E1D0409 - Body hash
B484291C3657526BC184AB01DB61CC2593CC6DC6088F6392D765CCAC5EA3B661 - IL size52