From 34d79d1207744f969e37cee4a663c2c22df969bf Mon Sep 17 00:00:00 2001 From: dean11 Date: Mon, 16 Dec 2013 09:09:54 +0100 Subject: [PATCH] Gamelogic - Forgot some stuff --- Code/Game/DanBiasServer/ServerObjects/ClientObject.cpp | 4 ++-- Code/Game/DanBiasServer/ServerObjects/ClientObject.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/Game/DanBiasServer/ServerObjects/ClientObject.cpp b/Code/Game/DanBiasServer/ServerObjects/ClientObject.cpp index 907b68c8..638d8237 100644 --- a/Code/Game/DanBiasServer/ServerObjects/ClientObject.cpp +++ b/Code/Game/DanBiasServer/ServerObjects/ClientObject.cpp @@ -13,7 +13,7 @@ ClientObject::~ClientObject() this->client.Disconnect(); } -void ClientObject::SetPostbox(Oyster::PostBox* box) +void ClientObject::SetPostbox(Oyster::PostBox* 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; diff --git a/Code/Game/DanBiasServer/ServerObjects/ClientObject.h b/Code/Game/DanBiasServer/ServerObjects/ClientObject.h index 83327d1b..7a69eb94 100644 --- a/Code/Game/DanBiasServer/ServerObjects/ClientObject.h +++ b/Code/Game/DanBiasServer/ServerObjects/ClientObject.h @@ -16,7 +16,7 @@ namespace DanBias ClientObject(const Oyster::Network::NetworkClient& client); ~ClientObject(); - void SetPostbox(Oyster::PostBox* box); + void SetPostbox(Oyster::PostBox* 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* box; + Oyster::IPostBox* box; }; }//End namespace DanBias