Table of Contents

Class LuaResources

Namespace
LuaMod
Assembly
LuaMod.dll
public class LuaResources : MonoBehaviour
Inheritance
object
Il2CppObjectBase
Object
Object
Component
Behaviour
MonoBehaviour
LuaResources

Fields

boolKeys

public List<string> boolKeys

Field Value

List<string>

boolValues

public List<bool> boolValues

Field Value

List<bool>

floatKeys

public List<string> floatKeys

Field Value

List<string>

floatValues

public List<float> floatValues

Field Value

List<float>

objectKeys

public List<string> objectKeys

Field Value

List<string>

objectValues

public List<Object> objectValues

Field Value

List<Object>

stringKeys

public List<string> stringKeys

Field Value

List<string>

stringValues

public List<string> stringValues

Field Value

List<string>

Properties

Bools

public Dictionary<string, bool> Bools { get; }

Property Value

Dictionary<string, bool>

Floats

public Dictionary<string, float> Floats { get; }

Property Value

Dictionary<string, float>

Objects

public Dictionary<string, Object> Objects { get; }

Property Value

Dictionary<string, Object>

Strings

public Dictionary<string, string> Strings { get; }

Property Value

Dictionary<string, string>

Methods

Cast<T>(Object)

public static T Cast<T>(Object input) where T : class

Parameters

input Object

Returns

T

Type Parameters

T

GetAllKeys()

public HashSet<string> GetAllKeys()

Returns

HashSet<string>

GetBool(string)

public bool GetBool(string key)

Parameters

key string

Returns

bool

GetDuplicateKeys()

public List<string> GetDuplicateKeys()

Returns

List<string>

GetFloat(string)

public float GetFloat(string key)

Parameters

key string

Returns

float

GetObject(string, string)

public DynValue GetObject(string key, string CompType)

Parameters

key string
CompType string

Returns

DynValue

GetString(string)

public string GetString(string key)

Parameters

key string

Returns

string

RebuildAll()

public void RebuildAll()

SetBool(string, bool)

public void SetBool(string key, bool value)

Parameters

key string
value bool

SetFloat(string, float)

public void SetFloat(string key, float value)

Parameters

key string
value float

SetObject(string, Object)

public void SetObject(string key, Object value)

Parameters

key string
value Object

SetString(string, string)

public void SetString(string key, string value)

Parameters

key string
value string