TGameData.DefaultGameData<T> Method

Overloads

DefaultGameData

Get the instance of default game data as a TGameData instance.

DefaultGameData<T>

Get the instance of current game data as a T instance.

DefaultGameData

Get the instance of default game data as a TGameData instance.

Delphi
class function DefaultGameData: TGameData

Returns

Remarks

If you work on a descendant class, use "DefaultGameData(T):T" to create your instance and add a Current function at the descendant level to simplify your life.

DefaultGameData<T>

Get the instance of current game data as a T instance.

Delphi
class function DefaultGameData<T>: T

Type Parameters

T

Returns

T