MMatchClient 클래스 참조
#include <MMatchClient.h>
MMatchClient에 대한 상속 도표


세부 사항
게임 클라이언트
public 메소드 | |
| bool | Create (unsigned short nUDPPort) |
| bool | GetBridgePeerFlag () |
| void | SetBridgePeerFlag (bool bFlag) |
| void | AddPeer (MMatchPeerInfo *pPeerInfo) |
| bool | DeletePeer (const char *szIP) |
| bool | DeletePeer (const MUID uid) |
| MMatchPeerInfo * | FindPeer (const char *szIP, const int nPort) |
| MMatchPeerInfo * | FindPeer (const MUID &uidChar) |
| void | ClearPeers () |
| void | CastStageBridgePeer (const MUID &uidChar, const MUID &uidStage) |
| bool | GetUDPTestProcess () |
| void | SetUDPTestProcess (bool bVal) |
| void | UpdateUDPTestProcess () |
| void | GetUDPTraffic (int *nSendTraffic, int *nRecvTraffic) |
| void | SetUDPPort (int nPort) |
| MUID | GetServerUID () |
| MUID | GetPlayerUID () |
| MUID | GetChannelUID () |
| MUID | GetStageUID () |
| virtual MUID | GetSenderUIDBySocket (SOCKET socket) |
| void | SetServerAddr (const char *szIP, int nPort) |
| char * | GetServerIP () |
| int | GetServerPort () |
| void | SetServerPeerPort (int nPeerPort) |
| int | GetServerPeerPort () |
| MMatchPeerInfoList * | GetPeers () |
| MSafeUDP * | GetSafeUDP () |
| string | GetObjName (const MUID &uid) |
| MMatchObjCache * | FindObjCache (const MUID &uid) |
| void | ReplaceObjCache (MMatchObjCache *pCache) |
| void | UpdateObjCache (MMatchObjCache *pCache) |
| void | RemoveObjCache (const MUID &uid) |
| void | ClearObjCaches () |
| void | SetAgentAddr (const char *szIP, int nPort) |
| char * | GetAgentIP () |
| int | GetAgentPort () |
| void | SetAgentPeerPort (int nPeerPort) |
| int | GetAgentPeerPort () |
| const MUID & | GetAgentServerUID () |
| const MUID & | GetAgentClientUID () |
| bool | GetAllowTunneling () |
| void | SetAllowTunneling (bool bAllow) |
| int | AgentConnect (SOCKET *pSocket, char *szIP, int nPort) |
| void | AgentDisconnect () |
| MMatchObjCacheMap * | GetObjCacheMap () |
| MMatchServerMode | GetServerMode () |
| const char * | GetServerName () |
static public 메소드 | |
| static bool | UDPSocketRecvEvent (DWORD dwIP, WORD wRawPort, char *pPacket, DWORD dwSize) |
protected 메소드 | |
| bool | GetAgentPeerFlag () |
| void | SetAgentPeerFlag (bool bVal) |
| int | GetAgentPeerCount () |
| void | SetAgentPeerCount (int nCount) |
| void | StartAgentPeerConnect () |
| void | CastAgentPeerConnect () |
| void | StartUDPTest (const MUID &uidChar) |
| virtual bool | OnSockConnect (SOCKET sock) |
| virtual bool | OnSockDisconnect (SOCKET sock) |
| virtual bool | OnSockRecv (SOCKET sock, char *pPacket, DWORD dwSize) |
| virtual void | OnSockError (SOCKET sock, SOCKET_ERROR_EVENT ErrorEvent, int &ErrorCode) |
| virtual int | OnConnected (SOCKET sock, MUID *pTargetUID, MUID *pAllocUID) |
| virtual void | OnRegisterCommand (MCommandManager *pCommandManager) |
| 초기 커맨드 등록할때 불리는 함수. | |
| virtual bool | OnCommand (MCommand *pCommand) |
| 커뮤니케이터가 커맨드를 처리하기 위해 불리는 함수. | |
| virtual int | OnResponseMatchLogin (const MUID &uidServer, int nResult, const char *szServerName, const MMatchServerMode nServerMode, const MUID &uidPlayer) |
| virtual void | OnObjectCache (unsigned int nType, void *pBlob, int nCount) |
| virtual void | OnUDPTest (const MUID &uidChar) |
| virtual void | OnUDPTestReply (const MUID &uidChar) |
| virtual void | OnResponseAgentLogin () |
| virtual void | OnLocateAgentToClient (const MUID &uidAgent, char *szIP, int nPort, int nUDPPort) |
| virtual void | OnTunnelingTCP (const MUID &uidSender, void *pBlob, int nCount) |
| virtual void | OnTunnelingUDP (const MUID &uidSender, void *pBlob, int nCount) |
| virtual void | OnAllowTunnelingTCP () |
| virtual void | OnAllowTunnelingUDP () |
| virtual void | OnAgentConnected (const MUID &uidAgentServer, const MUID &uidAlloc) |
| virtual void | OnAgentError (int nError) |
| void | OutputLocalInfo (void) |
| 로컬 정보를 출력한다. | |
| virtual void | SendCommand (MCommand *pCommand) |
| Low-Level Command Transfer Function. 나중에 모아두었다가 블럭 전송등이 가능하게 해줄 수 있다. | |
| bool | SendCommandToAgent (MCommand *pCommand) |
| void | SendCommandByUDP (MCommand *pCommand, char *szIP, int nPort) |
| void | SendCommandByTunneling (MCommand *pCommand) |
| void | ParseUDPPacket (char *pData, MPacketHeader *pPacketHeader, char *szIP, unsigned int nPort) |
protected 속성 | |
| MUID | m_uidServer |
| MUID | m_uidPlayer |
| MUID | m_uidChannel |
| MUID | m_uidStage |
| char | m_szServerName [64] |
| char | m_szServerIP [32] |
| int | m_nServerPort |
| int | m_nServerPeerPort |
| MMatchServerMode | m_nServerMode |
| 서버모드 | |
| MMatchObjCacheMap | m_ObjCacheMap |
| MSafeUDP | m_SafeUDP |
| MMatchPeerInfoList | m_Peers |
| bool | m_bBridgePeerFlag |
| bool | m_bUDPTestProcess |
| MClientSocket | m_AgentSocket |
| MUID | m_uidAgentServer |
| MUID | m_uidAgentClient |
| char | m_szAgentIP [32] |
| int | m_nAgentPort |
| int | m_nAgentPeerPort |
| bool | m_bAgentPeerFlag |
| int | m_nAgentPeerCount |
| bool | m_bAllowTunneling |
이 클래스을 위한 문서화는 다음의 파일들로부터 생성되었습니다.
- MMatchClient.h
- MMatchClient.cpp
MAIET entertainment