Code: Select all
struct ModData {
string name; // ex: Original Total Annihilation v2.3
string shortName; // ex: OTA
string version; // ex: v2.3
string description; // ex: Little units blowing up other little units
...
};
class, and are available to the lua scripts through the Game table
(Game.modShortName and Game.modVersion).