public RoomieCalendarEvent([NotNull] IUser organizer, [NotNull] ICalendarEventOccurence occurence, [CanBeNull] IChatInfo chatInfo) { this._organizer = organizer; this._occurence = occurence; this.ChatInfo = chatInfo; }
public void SetMsgInfo(UInt64 sGUID, string nickName, string msgInfo, MsgTalk talkState, int headID, bool islocal) { SGUID = sGUID; NickName = nickName; TalkState = talkState; HeadID = headID; IChatInfo info = new IChatInfo(); info.isLocalPlayer = islocal; info.msg = msgInfo; info.head = headID; info.SetNickName(nickName); info.TalkState = talkState; MsgInfo.Add(info); }
public Chat(IChatInfo chatInfo, Guid chatId, List <ChatParticipant> participants, DateTime lastTimestamp, long topIndex, Guid?lastMessageId, Guid?lastMessageAuthorId, ChatMessageInfo lastChatMessageInfo) : base(chatInfo, chatId, participants, lastTimestamp, topIndex, lastMessageId, lastMessageAuthorId, lastChatMessageInfo) { }
public Chat(IChatInfo chatInfo, Guid chatId, TChatParticipantCollection participants, DateTime lastTimestamp, long topIndex, Guid?lastMessageId, Guid?lastMessageAuthorId, TChatMessageInfo lastChatMessageInfo) : this(chatInfo.Name, chatInfo.Description, chatInfo.PrivacyMode, chatInfo.Version, chatId, participants, lastTimestamp, topIndex, lastMessageId, lastMessageAuthorId, lastChatMessageInfo, chatInfo.Style, chatInfo.Metadata) { }