Facepunch.Steamworks Wiki

Steamworks.InventoryResult

Properties

bool Expired { get; }
int ItemCount { get; }

Methods

bool BelongsTo( SteamId steamId )
Checks whether an inventory result handle belongs to the specified Steam ID. This is important when using Deserialize, to verify that a remote player is not pretending to have a different user's inventory
void Dispose()
InventoryItem[] GetItems( bool includeProperties = False )
byte[] Serialize()
Serialized result sets contain a short signature which can't be forged or replayed across different game sessions. A result set can be serialized on the local client, transmitted to other players via your game networking, and deserialized by the remote players.This is a secure way of preventing hackers from lying about posessing rare/high-value items. Serializes a result set with signature bytes to an output buffer.The size of a serialized result depends on the number items which are being serialized.When..