Class GameSettingsSetIntValueInput
Input data transfer object for setting an integer game setting value.
Inherited Members
Namespace: Serenity.GameSettings.Application.DTO
Assembly: Serenity.Global.Application.dll
Syntax
public class GameSettingsSetIntValueInput
Constructors
GameSettingsSetIntValueInput(string, int)
Initializes a new instance of the GameSettingsSetIntValueInput class.
Declaration
public GameSettingsSetIntValueInput(string id, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier of the game setting. |
| int | value | The value of the game setting. |
GameSettingsSetIntValueInput(string, string)
Initializes a new instance of the GameSettingsSetIntValueInput classby parsing the value from a string.
Declaration
public GameSettingsSetIntValueInput(string id, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier of the game setting. |
| string | value | The string representation of the integer value. |
Fields
Id
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| string | The unique identifier of the game setting. |
Value
Declaration
public int Value
Field Value
| Type | Description |
|---|---|
| int | The value of the game setting. |