Data Types - SFTtech/openage GitHub Wiki
Data Types
Click on a link to view further examples and explanations about a data type.
Primitive Types
Type | Notation | Explanation |
---|---|---|
Integer | int |
Positive, negative or infinite integer numbers |
Float | float |
Positive, negative or infinite floating point numbers |
Text | text |
Strings and characters |
File | file |
File paths |
Boolean | bool |
Boolean values (true or false) |
Complex Types
Type | Notation | Explanation |
---|---|---|
nyan::Object | depends on object type | Stores a reference to a non-abstract nyan object |
Set | set(type) |
Stores a set of values with a specific type |
Ordered Set | orderedset(type) |
Stores a set of values with a specific type and stores the order they were inserted |
Dict* | dict(keyType, valueType) |
Stores key-value pairs with a specific type of key and a specific type of values |
* Dicts are currently not implemented.