public void Handle(GroupRemovedEvent message) { if (message.IsPrivate) { return; } this.Handle(message.AcSession, message.Source.Id, false); }
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()); } }