#pragma once #pragma pack(push,1) #include "CommonNetworkMsgStruct.h" struct MSG_SYN_TELEPORTPORTAL_LIST : public MSGROOT { unsigned char mCount; unsigned long mMapChangePosIdx[1]; unsigned long GetMsgLength() { return sizeof(MSG_SYN_TELEPORTPORTAL_LIST) - sizeof(mMapChangePosIdx) + (mCount * sizeof(unsigned long));} }; struct MSG_SYN_TELEPORTPORTAL_CREATE : public MSGROOT { unsigned long mMapChangePosIdx; }; struct MSG_REQ_TELEPORTPORTAL_USE : public MSGROOT { unsigned long mMapChangePosIdx; }; const int ERROR_TELEPORTPORTAL_USE_SUCCESS = 0; /// ¼º°ø const int ERROR_TELEPORTPORTAL_USE_RANGE = 1; /// °Å¸®°¡ ¾È¸ÂÀ½ const int ERROR_TELEPORTPORTAL_USE_STATE = 2; /// Ç÷¹À̾î À̵¿ÇÒ¼ö ¾ø´Â »óÅ const int ERROR_TELEPORTPORTAL_USE_THEME = 100; /// ¾ø´Â Å׸¶ const int ERROR_TELEPORTPORTAL_USE_PORTAL = 101; /// ¾ø´Â Æ÷Å» À妽º const int ERROR_TELEPORTPORTAL_USE_SCRIPT = 102; /// ¾ø´Â ½ºÅ©¸³Æ® ¹øÈ£ const int ERROR_TELEPORTPORTAL_USE_MAP = 103; /// ¾ø´Â ½ºÅ©¸³Æ® ¹øÈ£ const int ERROR_TELEPORTPORTAL_USE_PVP = 104; /// ¾ø´Â ÀüÀå const int ERROR_TELEPORTPORTAL_USE_UNKNOWN = 105; /// ¾ø´Â ¼­¹öŸÀÔ struct MSG_RES_TELEPORTPORTAL_USE : public MSG_ERROR { float mDestX; float mDestY; }; struct MSG_SYN_TELEPORTPORTAL_USE : public MSGROOT { unsigned long mObjectIdx; float mDestX; float mDestY; }; #pragma pack(pop)