primitivetypekeywords - eisclimber/ExPresS-XR GitHub Wiki
Field in DataGatheringHelpers
Mapping of types to their name of supported types for exporting with the DataGatherer. The supported types are: bool, byte, char, decimal, double, float, int, long, sbyte, short, string, uint, ulong, ushort, Vector2, Vector3 and Quaternion.
public static readonly Dictionary<Type, string> primitiveTypeKeywords = new()
{{typeof(bool), "bool"}, {typeof(byte), "byte"}, {typeof(char), "char"}, {typeof(decimal), "decimal"}, {typeof(double), "double"}, {typeof(float), "float"}, {typeof(int), "int"}, {typeof(long), "long"}, {typeof(sbyte), "sbyte"}, {typeof(short), "short"}, {typeof(string), "string"}, {typeof(uint), "uint"}, {typeof(ulong), "ulong"}, {typeof(ushort), "ushort"}, {typeof(Vector2), "Vector2"}, {typeof(Vector3), "Vector3"}, {typeof(Quaternion), "Quaternion"}};