public Answer Kickout(Int64 connectionId, string endpoint, Quest quest) { RTMControlCenter.CloseSession(connectionId); if (questProcessor != null) { questProcessor.Kickout(); } return(null); }
public Answer Kickout(Int64 connectionId, string endpoint, Quest quest) { bool closed = RTMControlCenter.GetClientStatus(connectionId) == RTMClient.ClientStatus.Closed; RTMControlCenter.CloseSession(connectionId); if (questProcessor != null && closed == false) { questProcessor.Kickout(); } return(null); }