DataContainer
Summary
A generic DataContainer. The fields of this type are dynamic, so you must know what the names of them are to access them! For example, if I had a AutoPlayerSettings type, I could access the bots of team 1 by doing:
local oldValue = autoPlayerSettings.forceFillGameplayBotsTeam1
autoPlayerSettings.forceFillGameplayBotsTeam1 = 10Properties
Methods
| Method | Returns |
|---|---|
| Is(otherTypeName: string) | boolean |
Properties
typeInfo
The DataContainer's type
Methods
Is
DataContainer:Is(otherTypeName: string): booleanCheck if type is the type name provided.
Parameters
| Name | Type | Description |
|---|---|---|
| otherTypeName | string | The type you want to check against. |
Returns
| Type | Description |
|---|---|
| boolean |