14#include "engine_string.h"
15#include "engine_vector.h"
20 public NoEqualsClass<GameDefinition>
29 GameDefinition(
const GameDefinition& that)
32 mapName = that.mapName;
33 serverPresetsFile = that.serverPresetsFile;
35 int packageCount = that.packages.Length();
36 packages.Resize(packageCount);
37 for (
int i = 0; i < packageCount; ++i)
38 packages[i] = that.packages[i];
41 GameDefinition& operator =(
const GameDefinition& that)
44 mapName = that.mapName;
45 serverPresetsFile = that.serverPresetsFile;
47 int packageCount = that.packages.Length();
48 packages.Resize(packageCount);
49 for (
int i = 0; i < packageCount; ++i)
50 packages[i] = that.packages[i];
57 StringClass serverPresetsFile;
58 SimpleVecClass<uint32> packages;
60 const StringClass& GetDisplayName()
const
62 return name.Compare_No_Case(mapName) == 0 ? mapName : name;