2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 16:52:35 +00:00

chore: make GetLanguagePrefixes return a reference instead of a vector copy

This commit is contained in:
Jan
2024-10-19 20:14:26 +02:00
parent 3aaa821b74
commit 897a571a41
11 changed files with 49 additions and 47 deletions
+3 -1
View File
@@ -42,5 +42,7 @@ public:
virtual void AddZone(Zone* zone) = 0;
virtual void RemoveZone(Zone* zone) = 0;
virtual std::vector<Zone*> GetZones() = 0;
virtual std::vector<GameLanguagePrefix> GetLanguagePrefixes() = 0;
virtual const std::vector<GameLanguagePrefix>& GetLanguagePrefixes() = 0;
static IGame* GetGameById(GameId gameId);
};