diff --git a/.luacheckrc.template b/.luacheckrc.template index d69bc89..71a1351 100644 --- a/.luacheckrc.template +++ b/.luacheckrc.template @@ -5,8 +5,33 @@ stds.cfx = { read_globals = { Citizen = { fields = { - "Wait", "CreateThread", "SetTimeout", "Await", "Trace", - "InvokeNative", "PointerValueIntInitialized", "PointerValueFloatInitialized" + "Wait", + "Await", + "CreateThread", + "CreateThreadNow", + "SetTimeout", + "SetTickRoutine", + "SetEventRoutine", + "Trace", + "InvokeNative", + "PointerValueInt", + "PointerValueIntInitialized", + "PointerValueFloat", + "PointerValueFloatInitialized", + "PointerValueVector", + "ResultAsFloat", + "ResultAsInteger", + "ResultAsLong", + "ResultAsObject", + "ResultAsString", + "ResultAsVector", + "ReturnResultAnyway", + "CanonicalizeRef", + "SetCallRefRoutine", + "SetDeleteRefRoutine", + "SetDuplicateRefRoutine", + "GetFunctionReference", + "InvokeFunctionReference" } }, exports = { other_fields = true }, @@ -20,7 +45,7 @@ stds.cfx = { "Await", "Trace", "quat", - "vec", + "vector", "vec", "vector2", "vec2", "vector3", "vec3", "vector4", "vec4", @@ -35,7 +60,6 @@ stds.cfx = { utf8 = { fields = { "strlenutf8", "strcmputf8i" } }, msgpack = { fields = { "extend", "extend_clear", "extend_get", "getoption", "gettype", "new", "next", "null", "pack", "pack_args", "safe", "sentinel", "packers", "set_array", "set_integer", "set_number", "set_string", "setoption", "settype", "unpack" } }, "scrub", - "vector", "mat", "mat2", "mat3",