Class UGKGamekitSettings

Inheritance Relationships

Base Type

  • public UObject

Class Documentation

class UGKGamekitSettings : public UObject

Global settings for Gamekit, stores sources for datadriven logic

Public Functions

FGKTeamInfo const *GetTeamInfo(int Index) const

Fetch Team info using TeamID.

FGKTeamInfo const *GetTeamInfoFromName(FName Name) const

Fetch Team info using.

void BuildTeamCache() const

Build an array of TeamInfo from the DataTable.

inline TArray<FGKTeamInfo*> const &GetTeams()
class UDataTable *GetExperienceLevel()
inline TArray<FGKExperience const*> GetExperienceLevels()
inline FGKExperience const &GetLevelSpec(int Level)
void InitGlobalData()
DECLARE_MULTICAST_DELEGATE_TwoParams(FOnDataTableChanged, FName, class UDataTable*)
inline FOnDataTableChanged &GetOnAbilityTableChanged()
inline FOnDataTableChanged &GetOnUnitTableChanged()

Public Members

FSoftObjectPath ExperienceDataTable

Table specifying the amount of experience required to reach a given level Can also be used to add per level contrains

bool bAutoRegenerateAbilities

Automatically generate abilities when tables change.

TArray<FGKNamedObject> AbilityDataTables

Tables containing ability definitions.

FString AbilityOutput
bool bAutoRegenerateUnits

Automatically generate units when tables change.

TArray<FGKNamedObject> UnitDataTables

Tables containing unit definitions.

FString UnitOutput

Protected Attributes

class UDataTable *Teams
class UDataTable *ExperienceLevels