コード例 #1
0
 public RoomieCalendarEvent([NotNull] IUser organizer,
                            [NotNull] ICalendarEventOccurence occurence,
                            [CanBeNull] IChatInfo chatInfo)
 {
     this._organizer = organizer;
     this._occurence = occurence;
     this.ChatInfo   = chatInfo;
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 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)
 {
 }
コード例 #4
0
 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)
 {
 }