Steamworks.SteamGameServerInventory.GetItemsByID C# (CSharp) Méthode

GetItemsByID() public static méthode

Captures the state of a subset of the current user's Steam inventory,

identified by an array of item instance IDs. The results from this call

can be serialized and passed to other players to "prove" that the current

user owns specific items, without exposing the user's entire inventory.

For example, you could call GetItemsByID with the IDs of the user's

currently equipped cosmetic items and serialize this to a buffer, and

then transmit this buffer to other players upon joining a game.

public static GetItemsByID ( SteamInventoryResult_t &pResultHandle, SteamItemInstanceID_t pInstanceIDs, uint unCountInstanceIDs ) : bool
pResultHandle SteamInventoryResult_t
pInstanceIDs SteamItemInstanceID_t
unCountInstanceIDs uint
Résultat bool
		public static bool GetItemsByID(out SteamInventoryResult_t pResultHandle, SteamItemInstanceID_t[] pInstanceIDs, uint unCountInstanceIDs) {
			InteropHelp.TestIfAvailableGameServer();
			return NativeMethods.ISteamGameServerInventory_GetItemsByID(out pResultHandle, pInstanceIDs, unCountInstanceIDs);
		}