Steamworks.SteamGameServerInventory.GrantPromoItems C# (CSharp) Method

GrantPromoItems() public static method

GrantPromoItems() checks the list of promotional items for which the user may be eligible

and grants the items (one time only). On success, the result set will include items which

were granted, if any. If no items were granted because the user isn't eligible for any

promotions, this is still considered a success.

public static GrantPromoItems ( SteamInventoryResult_t &pResultHandle ) : bool
pResultHandle SteamInventoryResult_t
return bool
		public static bool GrantPromoItems(out SteamInventoryResult_t pResultHandle) {
			InteropHelp.TestIfAvailableGameServer();
			return NativeMethods.ISteamGameServerInventory_GrantPromoItems(out pResultHandle);
		}