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