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