Steamworks.SteamGameServerInventory.GetEligiblePromoItemDefinitionIDs C# (CSharp) Method

GetEligiblePromoItemDefinitionIDs() public static method

After handling a SteamInventoryEligiblePromoItemDefIDs_t call result, use this

function to pull out the list of item definition ids that the user can be

manually granted via the AddPromoItems() call.

public static GetEligiblePromoItemDefinitionIDs ( CSteamID steamID, SteamItemDef_t pItemDefIDs, uint &punItemDefIDsArraySize ) : bool
steamID CSteamID
pItemDefIDs SteamItemDef_t
punItemDefIDsArraySize uint
return bool
		public static bool GetEligiblePromoItemDefinitionIDs(CSteamID steamID, SteamItemDef_t[] pItemDefIDs, ref uint punItemDefIDsArraySize) {
			InteropHelp.TestIfAvailableGameServer();
			return NativeMethods.ISteamGameServerInventory_GetEligiblePromoItemDefinitionIDs(steamID, pItemDefIDs, ref punItemDefIDsArraySize);
		}
	}