Gamelogic - Forgot some stuff

This commit is contained in:
dean11 2013-12-16 09:09:54 +01:00
parent 9eb8fcba40
commit 34d79d1207
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ ClientObject::~ClientObject()
this->client.Disconnect();
}
void ClientObject::SetPostbox(Oyster::PostBox<NetworkSession::ClientEvent>* box)
void ClientObject::SetPostbox(Oyster::PostBox<NetworkSession::NetEvent>* box)
{
this->box = box;
}
@ -30,7 +30,7 @@ void ClientObject::ProtocolRecievedCallback(Oyster::Network::CustomNetProtocol&
{
if(!this->box) return;
NetworkSession::ClientEvent _event;
NetworkSession::NetEvent _event;
_event.protocol = protocol;
_event.reciever = this;

View File

@ -16,7 +16,7 @@ namespace DanBias
ClientObject(const Oyster::Network::NetworkClient& client);
~ClientObject();
void SetPostbox(Oyster::PostBox<NetworkSession::ClientEvent>* box);
void SetPostbox(Oyster::PostBox<NetworkSession::NetEvent>* box);
GameLogic::Player* Logic_Object();
Oyster::Network::NetworkClient* NetClient_Object();
@ -27,7 +27,7 @@ namespace DanBias
private:
GameLogic::Player logicPlayer;
Oyster::Network::NetworkClient client;
Oyster::IPostBox<DanBias::NetworkSession::ClientEvent>* box;
Oyster::IPostBox<DanBias::NetworkSession::NetEvent>* box;
};
}//End namespace DanBias