示例#1
0
 public UserMsgInfo(MsgTypes msgType, string msgId, string title,
                    string content, MsgStates msgState, long msgTime, List <RewardInfo> rewardInfo)
 {
     MsgType    = msgType;
     MsgId      = msgId;
     Title      = title;
     Content    = content;
     MsgState   = msgState;
     MsgTime    = msgTime;
     RewardInfo = rewardInfo;
 }
示例#2
0
 /// <summary>
 /// 设置消息
 /// </summary>
 /// <param name="state">消息级别</param>
 /// <param name="mssage">消息内容</param>
 public void SetStateMssage(MsgStates state, string mssage)
 {
     this.State   = (int)state;
     this.Message = mssage;
 }
示例#3
0
 /// <summary>
 /// 设置消息
 /// </summary>
 /// <param name="state">消息级别</param>
 /// <param name="mssage">消息内容</param>
 public void StateMssage(MsgStates state, string mssage)
 {
     this.State   = (int)state;
     this.ShowMsg = mssage;
 }