protected virtual void OnHostExitRoom(HostExitRoomEventArgs e) { EventHandler <HostExitRoomEventArgs> handler = HostExitRoom; if (handler != null) { handler(this, e); } }
protected void RaiseOnHostExitRoom(InterceptedEventArgs e) { if (HostExitRoom != null) { var args = new HostExitRoomEventArgs(e.Continuation, e.Step, e.Packet); OnHostExitRoom(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }
protected virtual void OnHostExitRoom(HostExitRoomEventArgs e) { EventHandler<HostExitRoomEventArgs> handler = HostExitRoom; if (handler != null) handler(this, e); }