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 = 10

Properties

Methods

MethodReturns
Is(otherTypeName: string)boolean

Properties


typeInfo

TypeInfo

The DataContainer's type


Methods

Is

DataContainer:Is(otherTypeName: string): boolean

Check if type is the type name provided.

Parameters

NameTypeDescription
otherTypeNamestringThe type you want to check against.

Returns

TypeDescription
boolean