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. |
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.