Facepunch.Steamworks Wiki

Steamworks.SteamInventory.GenerateItemAsync

Syntax

static async Task<InventoryResult> GenerateItemAsync( InventoryDef target, int amount )

Description

This is used to grant a specific item to the user. This should only be used for development prototyping, from a trusted server, or if you don't care about hacked clients granting arbitrary items. This call can be disabled by a setting on Steamworks.

Arguments

InventoryDef target
int amount

Returns

Page Links


Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 53
Generate Html 0
SaveChanges (1) 14
Render Body 0
Render Sidebar 1