CustomMessage.cs 1018 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* ==============================================================================
  2. * 功能描述:自定义消息
  3. * 创 建 者:Garrett
  4. * 创建日期:2019/4/12 11:55:31
  5. * ==============================================================================*/
  6. namespace Client.Start
  7. {
  8. /// <summary>
  9. /// DotMessage
  10. /// </summary>
  11. class CustomMessage
  12. {
  13. public CustomMessage(bool mResult, string mResultMsg)
  14. {
  15. m_Result = mResult;
  16. m_ResultMsg = mResultMsg;
  17. }
  18. private bool m_Result;
  19. /// <summary>
  20. /// 状态,暂定为bool类型
  21. /// </summary>
  22. public bool Result
  23. {
  24. get { return m_Result; }
  25. set { m_Result = value; }
  26. }
  27. private string m_ResultMsg;
  28. /// <summary>
  29. /// 消息提示
  30. /// </summary>
  31. public string ResultMsg
  32. {
  33. get { return m_ResultMsg; }
  34. set { m_ResultMsg = value; }
  35. }
  36. }
  37. }