示例#1
0
 public void Handle(GroupRemovedEvent message)
 {
     if (message.IsPrivate)
     {
         return;
     }
     this.Handle(message.AcSession, message.Source.Id, false);
 }
示例#2
0
        private void SendGroupRemovedToCharacter(string characterID, string groupID)
        {
            SelectCharacterClientPeer peer;

            if (mApplication.Clients.TryGetPeerForCharacterId(characterID, out peer))
            {
                GroupRemovedEvent evt = new GroupRemovedEvent {
                    Group = groupID
                };
                EventData eData = new EventData((byte)SelectCharacterEventCode.GroupRemovedEvent, evt);
                peer.SendEvent(eData, new SendParameters());
            }
        }