The client is registering with the server
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef INFORMATIONMANAGER_HPP_
|
||||
#define INFORMATIONMANAGER_HPP_
|
||||
|
||||
class InformationManager {
|
||||
public:
|
||||
int SetClientIndex(int i) { return clientIndex = i; }
|
||||
int GetClientIndex() { return clientIndex; }
|
||||
private:
|
||||
int clientIndex = -1;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user