Struct UserItem
An item in the user's inventory.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kongregate.Web
Assembly: cs.temp.dll.dll
Syntax
public struct UserItem
Constructors
UserItem(Int32, String, String, Int32)
Declaration
public UserItem(int id, string identifier, string data, int remainingUses)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id | |
| System.String | identifier | |
| System.String | data | |
| System.Int32 | remainingUses |
Properties
Data
Declaration
public string Data { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Identifier
Declaration
public string Identifier { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsUnlimitedUseItem
Declaration
public bool IsUnlimitedUseItem { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
RemainingUses
Declaration
public int RemainingUses { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |