Issues: - The generated API file caused a ton of diagnostics warnings. - Perhaps due to EmmyLua moving forward since this was created, we were missing out on some features. Changes: - Disabled diagnostics about missing return values for functions. - Added add operator definitions because by default CPos+CVec would be assumed to return a number and assignments would cause warnings about type mismatches. - Added explicit @enum annotations. This also fixed warnings in the generated API file about missing types. - Changed default type of properties from an empty table to nil. This fixed warnings in the generated API file about type mismatch. - Renamed local variable "required" -> "requiredTraits" for readability. - Disabled duplicate function/property name warnings - Updated trait docs URL.
13 KiB
13 KiB