public static ScriptTypes GetType(ScriptState luaState, int index) { return((ScriptTypes)ScriptApi.GetType(luaState, ConvertParmenterIndex(index))); }