示例#1
0
 public void SetWhisper(IReadOnlyList <ChannelId> channelIds, IReadOnlyList <ClientId> clientIds)
 {
     ClearData();
     SendMode           = TargetSendMode.Whisper;
     setMeta.ChannelIds = channelIds;
     setMeta.ClientIds  = clientIds;
 }
示例#2
0
 public void SetWhisperGroup(GroupWhisperType type, GroupWhisperTarget target, ulong targetId = 0)
 {
     ClearData();
     SendMode = TargetSendMode.WhisperGroup;
     setMeta.GroupWhisperType   = type;
     setMeta.GroupWhisperTarget = target;
     setMeta.TargetId           = targetId;
 }
示例#3
0
 public void SetVoice()
 {
     ClearData();
     SendMode = TargetSendMode.Voice;
 }
示例#4
0
 public void SetNone()
 {
     ClearData();
     SendMode = TargetSendMode.None;
 }