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;
 }
Exemple #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;
 }
Exemple #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;
 }