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: 17ms

Session 0
DB GetPage 2
Generate Html 0
SaveChanges 11
Render Body 0
Render Sidebar 1