public static uint SetMsgID(CServerType serverType, CFuncType funcType, UInt16 msgNumber) { return((((UInt32)msgNumber & 0X0000FFFF) << 16) + (((UInt32)serverType.ServerType & 0X000000FF) << 8) + (UInt32)funcType.FuncType); }
public static CMsgID CreateMsgID(CServerType serverType, CFuncType funcType, UInt16 msgNumber) { return(new CMsgID(serverType, funcType, msgNumber)); }
public CMsgID(CServerType serverType, CFuncType funcType, UInt16 msgNumber) { m_msgID = SetMsgID(serverType, funcType, msgNumber); }