Description
The GameIdent
property of the MapClass
class specifies the identifier of the game to which the map entity belongs. This property is useful for distinguishing between different games or game modes that might use the same map editor environment. It is a string value that can be set or retrieved to identify the game context of the map entity.
Usage
To use the GameIdent
property, you can access it directly from an instance of the MapClass
. This property is read-write, allowing you to both get and set the game identifier as needed.
Example
// Example of setting the GameIdent property
MapClass mapEntity = new MapClass();
mapEntity.GameIdent = "my_game_identifier";
// Example of getting the GameIdent property
string gameIdentifier = mapEntity.GameIdent;
// Use the gameIdentifier as needed