diff --git a/Realtime/Signature/LCIMSignature.cs b/Realtime/Signature/LCIMSignature.cs index 957a303..815d246 100644 --- a/Realtime/Signature/LCIMSignature.cs +++ b/Realtime/Signature/LCIMSignature.cs @@ -1,19 +1,27 @@ namespace LeanCloud.Realtime { + /// + /// 签名数据 + /// public class LCIMSignature { + /// + /// 签名 + /// public string Signature { get; set; } + /// + /// 时间戳 + /// public long Timestamp { get; set; } + /// + /// 随机字符串 + /// public string Nonce { get; set; } - - public LCIMSignature() { - - } } } diff --git a/Realtime/Signature/LCIMSignatureAction.cs b/Realtime/Signature/LCIMSignatureAction.cs index f59a6eb..013ed5d 100644 --- a/Realtime/Signature/LCIMSignatureAction.cs +++ b/Realtime/Signature/LCIMSignatureAction.cs @@ -1,17 +1,36 @@ namespace LeanCloud.Realtime { + /// + /// 支持签名的动作 + /// public static class LCIMSignatureAction { - // 邀请 + /// + /// 邀请 + /// public const string Invite = "invite"; - // 踢出 + + /// + /// 踢出 + /// public const string Kick = "kick"; - // + /// + /// 用户拉黑对话 + /// public const string ClientBlockConversations = "client-block-conversations"; + /// + /// 用户解除拉黑对话 + /// public const string ClientUnblockConversations = "client-unblock-conversations"; + /// + /// 对话拉黑用户 + /// public const string ConversationBlockClients = "conversation-block-clients"; + /// + /// 对话解除拉黑用户 + /// public const string ConversationUnblockClients = "conversation-unblock-clients"; } }