Game Jolt Unity API  v2.5.8
Public Member Functions | Protected Member Functions | Properties | List of all members
GameJolt.API.Objects.Table Class Reference

Table object. More...

Inheritance diagram for GameJolt.API.Objects.Table:
GameJolt.API.Objects.Base

Public Member Functions

 Table (int id, string name, string description="")
 Initializes a new instance of the Table class. More...
 
 Table (JSONClass data)
 Initializes a new instance of the Table class. More...
 
override string ToString ()
 Returns a string that represents the current Table. More...
 
- Public Member Functions inherited from GameJolt.API.Objects.Base
void BulkUpdate (JSONClass data)
 Bulks update the object attributes. More...
 

Protected Member Functions

override void PopulateFromJson (JSONClass data)
 Map JSON data to the object's attributes. More...
 

Properties

int ID [get, set]
 Gets or sets the ID. More...
 
string Name [get, set]
 Gets or sets the name. More...
 
string Description [get, set]
 Gets or sets the description. More...
 
bool Primary [get]
 Gets a value indicating whether this Table is the primary table. More...
 

Detailed Description

Table object.

Constructor & Destructor Documentation

◆ Table() [1/2]

GameJolt.API.Objects.Table.Table ( int  id,
string  name,
string  description = "" 
)
inline

Initializes a new instance of the Table class.

Parameters
idThe Table ID.
nameThe Table name.
descriptionThe Table description.

◆ Table() [2/2]

GameJolt.API.Objects.Table.Table ( JSONClass  data)
inline

Initializes a new instance of the Table class.

Parameters
dataAPI JSON data.

Member Function Documentation

◆ PopulateFromJson()

override void GameJolt.API.Objects.Table.PopulateFromJson ( JSONClass  data)
inlineprotectedvirtual

Map JSON data to the object's attributes.

Parameters
dataJSON data from the API calls.

Implements GameJolt.API.Objects.Base.

◆ ToString()

override string GameJolt.API.Objects.Table.ToString ( )
inline

Returns a string that represents the current Table.

Returns
A string that represents the current Table.

Property Documentation

◆ Description

string GameJolt.API.Objects.Table.Description
getset

Gets or sets the description.

The description.

Settings this will only affect your game and won't be saved to GameJolt.

◆ ID

int GameJolt.API.Objects.Table.ID
getset

Gets or sets the ID.

The ID.

Settings this will only affect your game and won't be saved to GameJolt.

◆ Name

string GameJolt.API.Objects.Table.Name
getset

Gets or sets the name.

The name.

Settings this will only affect your game and won't be saved to GameJolt.

◆ Primary

bool GameJolt.API.Objects.Table.Primary
get

Gets a value indicating whether this Table is the primary table.

true if primary; otherwise, false.

Settings this will only affect your game and won't be saved to GameJolt.


The documentation for this class was generated from the following file: