public Chat(Unpacker unpacker, MessageNode node) : this(new Chain.Index(unpacker), node) { LastTransactionId = unpacker.UnpackLong(); LastTimestamp = unpacker.UnpackLong(); LastCount = unpacker.UnpackLong(); LastViewedCount = unpacker.UnpackLong(); }
public MessageSubmitAccount(KeyStore account, MessageNode node, long receiverAccountId, short receiverKeyIndex, short keyIndex, Chain.Index index, bool requiresSecretKey) : base(node.ServiceNode, keyIndex, index, requiresSecretKey) { Account = account; FriendAccountId = receiverAccountId; FriendKeyIndex = receiverKeyIndex; Node = node; }
public Friend(Unpacker unpacker, MessageNode node) { var chainId = node.ChainId; unpacker.Unpack(out AccountId); unpacker.Unpack(_keys, (u) => { var key = new PublicServiceAccountKey(AccountId, chainId, u); return(key.KeyIndex, key); });
public Chat(Chain.Index index, MessageNode node) { Index = index; Node = node; Download = new SharedAccountIndexTransactionDownload(node.AccountId, index, node.ServiceNode.GetTransactionDownloadManager(MessageServiceInfo.MessageDataChainIndex)) { Count = 20 }; (FriendAccountId, FriendKeyIndex, AccountId, KeyIndex) = node.GetFriendAccountId(index); }
public FriendsDownloadEvent(FriendInfo friendInfo, MessageNode node, MessageNodeEventResultTypes resultTypes) : base(node, resultTypes) { FriendInfo = friendInfo; }
public SendInvitationEvent(long accountId, MessageNode node, HeleusClientResponse heleusClientResponse) : base(node, heleusClientResponse) { AccountId = accountId; }
public InboxRecordDownloadEvent(long accountId, IReadOnlyList <InboxNameRecordInfo> inboxRecords, MessageNode node, MessageNodeEventResultTypes resultTypes) : base(node, resultTypes) { AccountId = accountId; InboxRecords = inboxRecords ?? new List <InboxNameRecordInfo>(); }
public InboxRenameEvent(string title, short keyIndex, MessageNode node, HeleusClientResponse heleusClientResponse) : base(node, heleusClientResponse) { Title = title; KeyIndex = keyIndex; }
public MessageNodeClientEvent(MessageNode node, HeleusClientResponse heleusClientResponse) : base(heleusClientResponse) { Node = node; }
public UnfriendEvent(long accountId, MessageNode node, HeleusClientResponse heleusClientResponse) : base(node, heleusClientResponse) { AccountId = accountId; }
public MessageSentEvent(string text, Chain.Index index, MessageNode node, HeleusClientResponse heleusClientResponse) : base(node, heleusClientResponse) { Text = text; Index = index; }
public Friend(long accountId, MessageNode node) { AccountId = accountId; _node = node; }