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

GetItemDefinitionIDs() public static méthode

GetItemDefinitionIDs returns the set of all defined item definition IDs (which are

defined via Steamworks configuration, and not necessarily contiguous integers).

If pItemDefIDs is null, the call will return true and *punItemDefIDsArraySize will

contain the total size necessary for a subsequent call. Otherwise, the call will

return false if and only if there is not enough space in the output array.

public static GetItemDefinitionIDs ( SteamItemDef_t pItemDefIDs, uint &punItemDefIDsArraySize ) : bool
pItemDefIDs SteamItemDef_t
punItemDefIDsArraySize uint
Résultat bool
		public static bool GetItemDefinitionIDs(SteamItemDef_t[] pItemDefIDs, out uint punItemDefIDsArraySize) {
			InteropHelp.TestIfAvailableGameServer();
			return NativeMethods.ISteamGameServerInventory_GetItemDefinitionIDs(pItemDefIDs, out punItemDefIDsArraySize);
		}