public static int GetGlobalRef(ScriptState luaState, string globalName, ScriptTypes luaType) { return(ScriptApi.GetGlobalRef(luaState, globalName, (int)luaType)); }