Changeset 1901 for code/branches/network/src/network/Host.h
- Timestamp:
- Oct 12, 2008, 12:15:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Host.h
r1793 r1901 52 52 virtual bool chat(std::string message)=0; 53 53 virtual bool processChat(std::string message, unsigned int playerID)=0; 54 virtual bool isServer_()=0; 54 55 55 56 … … 59 60 virtual ~Host(); 60 61 static Host *instance_; 61 bool isServer_;62 62 unsigned int clientID_; 63 63 unsigned int shipID_; … … 72 72 static void setClientID(unsigned int id){ instance_->clientID_ = id; } 73 73 static void setShipID(unsigned int id){ instance_->shipID_ = id; } 74 static bool isServer(){ return instance_->isServer_ ; }74 static bool isServer(){ return instance_->isServer_(); } 75 75 static bool Chat(std::string message); 76 76 static bool incomingChat(std::string message, unsigned int playerID);
Note: See TracChangeset
for help on using the changeset viewer.