Minor rename
This commit is contained in:
@@ -24,6 +24,6 @@ void ServerApplication::OpenRoom(std::map<std::string, std::string> args) {
|
|||||||
//TODO
|
//TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerApplication::CloseRoom(roomHandle) {
|
void ServerApplication::CloseRoom(RoomHandle roomHandle) {
|
||||||
//TODO
|
//TODO
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
struct roomHandle {
|
struct RoomHandle {
|
||||||
SDL_Thread* thread = nullptr;
|
SDL_Thread* thread = nullptr;
|
||||||
BaseRoom* room = nullptr;
|
BaseRoom* room = nullptr;
|
||||||
};
|
};
|
||||||
@@ -28,9 +28,9 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void OpenRoom(std::map<std::string, std::string>);
|
void OpenRoom(std::map<std::string, std::string>);
|
||||||
void CloseRoom(roomHandle);
|
void CloseRoom(RoomHandle);
|
||||||
|
|
||||||
std::list<roomHandle> rooms;
|
std::list<RoomHandle> rooms;
|
||||||
bool running = true;
|
bool running = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user