|
|
@ -29,10 +29,10 @@ uint CDynChatSession::_NumSessions = 0;
|
|
|
|
/////////////////////
|
|
|
|
/////////////////////
|
|
|
|
//================================================================
|
|
|
|
//================================================================
|
|
|
|
CDynChatSession::CDynChatSession(CDynChatClient *client, CDynChatChan *channel)
|
|
|
|
CDynChatSession::CDynChatSession(CDynChatClient *client, CDynChatChan *channel)
|
|
|
|
: _Client(client),
|
|
|
|
: StringID(0),
|
|
|
|
_Channel(channel),
|
|
|
|
WriteRight(false),
|
|
|
|
StringID(0),
|
|
|
|
_Client(client),
|
|
|
|
WriteRight(false)
|
|
|
|
_Channel(channel)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
nlassert(client);
|
|
|
|
nlassert(client);
|
|
|
|
nlassert(channel);
|
|
|
|
nlassert(channel);
|
|
|
@ -102,7 +102,7 @@ CDynChatSession::~CDynChatSession()
|
|
|
|
// CDynChatClient //
|
|
|
|
// CDynChatClient //
|
|
|
|
////////////////////
|
|
|
|
////////////////////
|
|
|
|
//================================================================
|
|
|
|
//================================================================
|
|
|
|
CDynChatClient::CDynChatClient(const TDataSetRow &client) : _ID(client), _FirstSession(NULL)
|
|
|
|
CDynChatClient::CDynChatClient(const TDataSetRow &client) : _FirstSession(NULL), _ID(client)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -136,26 +136,26 @@ CDynChatSession *CDynChatClient::getSession(TChanID chan) const
|
|
|
|
// CDynChatChan //
|
|
|
|
// CDynChatChan //
|
|
|
|
//////////////////
|
|
|
|
//////////////////
|
|
|
|
CDynChatChan::CDynChatChan()
|
|
|
|
CDynChatChan::CDynChatChan()
|
|
|
|
: _ID(CEntityId::Unknown),
|
|
|
|
: HistoricSize(0),
|
|
|
|
_FirstSession(NULL),
|
|
|
|
HideBubble(false),
|
|
|
|
HistoricSize(0),
|
|
|
|
_FirstSession(NULL),
|
|
|
|
_DontBroadcastPlayerInputs(false),
|
|
|
|
_ID(CEntityId::Unknown),
|
|
|
|
_ForwardPlayerIntputToOwnerService(false),
|
|
|
|
_DontBroadcastPlayerInputs(false),
|
|
|
|
_UnifyChannel(false),
|
|
|
|
_ForwardPlayerIntputToOwnerService(false),
|
|
|
|
HideBubble(false)
|
|
|
|
_UnifyChannel(false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//================================================================
|
|
|
|
//================================================================
|
|
|
|
//CDynChatChan::CDynChatChan(TChanID id) : _ID(id), _FirstSession(NULL), HistoricSize(0)
|
|
|
|
//CDynChatChan::CDynChatChan(TChanID id) : _ID(id), _FirstSession(NULL), HistoricSize(0)
|
|
|
|
CDynChatChan::CDynChatChan(TChanID id, bool noBroadcast, bool forwardInput, bool unified)
|
|
|
|
CDynChatChan::CDynChatChan(TChanID id, bool noBroadcast, bool forwardInput, bool unified)
|
|
|
|
: _ID(id),
|
|
|
|
: HistoricSize(0),
|
|
|
|
_FirstSession(NULL),
|
|
|
|
HideBubble(false),
|
|
|
|
HistoricSize(0),
|
|
|
|
_FirstSession(NULL),
|
|
|
|
_DontBroadcastPlayerInputs(noBroadcast),
|
|
|
|
_ID(id),
|
|
|
|
_ForwardPlayerIntputToOwnerService(forwardInput),
|
|
|
|
_DontBroadcastPlayerInputs(noBroadcast),
|
|
|
|
_UnifyChannel(unified),
|
|
|
|
_ForwardPlayerIntputToOwnerService(forwardInput),
|
|
|
|
HideBubble(false)
|
|
|
|
_UnifyChannel(unified)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|