Inheritance: global::ProtoBuf.IExtensible
Exemplo n.º 1
0
 private void HandleDeleteMail(NodeMessage msg, int handle, uint seq)
 {
     GameFrameworkMessage.NodeMessageWithGuid deleteMailMsg = msg.m_NodeHeader as GameFrameworkMessage.NodeMessageWithGuid;
     if (null != deleteMailMsg)
     {
         GameFrameworkMessage.Msg_CL_DeleteMail protoData = msg.m_ProtoData as GameFrameworkMessage.Msg_CL_DeleteMail;
         if (null != protoData)
         {
             m_GlobalProcessThread.QueueAction(m_GlobalProcessThread.DeleteMail, deleteMailMsg.m_Guid, protoData.m_MailGuid);
         }
     }
 }
 internal void DeleteMail(ulong mailGuid)
 {
     try {
         NodeMessage msg = new NodeMessage(LobbyMessageDefine.Msg_CL_DeleteMail);
         msg.SetHeaderWithGuid(m_Guid);
         Msg_CL_DeleteMail protoData = new Msg_CL_DeleteMail();
         protoData.m_MailGuid = mailGuid;
         msg.m_ProtoData = protoData;
         SendMessage(msg);
     } catch (Exception ex) {
         LogSystem.Error("Exception:{0}\n{1}", ex.Message, ex.StackTrace);
     }
 }