24 lines
715 B
C++
24 lines
715 B
C++
#pragma once
|
|
|
|
namespace cs
|
|
{
|
|
class CMSendChatMsg;
|
|
class CMSendCustomMsg;
|
|
class CMReadMsgAndOpenChatNotify;
|
|
class CMCloseChatNotify;
|
|
class CMSetCurrPrivateChatTarget;
|
|
}
|
|
|
|
class Player : public std::enable_shared_from_this<Player>
|
|
{
|
|
public:
|
|
int socket_handle = 0;
|
|
|
|
void _CMSendChatMsg(f8::MsgHdr& hdr, const cs::CMSendChatMsg& msg);
|
|
void _CMSendCustomMsg(f8::MsgHdr& hdr, const cs::CMSendCustomMsg& msg);
|
|
void _CMReadMsgAndOpenChatNotify(f8::MsgHdr& hdr, const cs::CMReadMsgAndOpenChatNotify& msg);
|
|
void _CMCloseChatNotify(f8::MsgHdr& hdr, const cs::CMCloseChatNotify& msg);
|
|
void _CMSetCurrPrivateChatTarget(f8::MsgHdr& hdr, const cs::CMSetCurrPrivateChatTarget& msg);
|
|
|
|
};
|