public HornBlowEvent(double TrackPositionDelta, HornTypes Type, bool TriggerOnce) { this.TrackPositionDelta = TrackPositionDelta; DontTriggerAnymore = false; this.TriggerOnce = TriggerOnce; this.Type = Type; }
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> internal override void HornBlow(HornTypes type) { if (this.Counter < TimeUntilBrake) { this.Counter = 0.0; } }
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> internal void HornBlow(HornTypes type) { foreach (Device device in this.Devices) { device.HornBlow(type); } }
/// <summary>警笛が扱われたときに呼び出されます。</summary> /// <param name="type">警笛のタイプ</param> public void HornBlow(HornTypes type) { foreach (IRuntime plugin in plugins_) { plugin.HornBlow(type); } }
internal override void HornBlow(HornTypes type) { try { Win32HornBlow((int)type); } catch (Exception ex) { base.LastException = ex; throw; } }
public void HornBlow(HornTypes type) { try { Win32HornBlow((int)type); } catch (Exception ex) { Callback.ReportError(ex.ToString()); } }
internal HornBlowEvent(double trackPosition, HornTypes type, bool triggerOnce, int beaconStructureIndex, Vector2 position, double yaw, double pitch, double roll) { TrackPosition = trackPosition; Type = type; TriggerOnce = triggerOnce; BeaconStructureIndex = beaconStructureIndex; Position = position; Yaw = yaw; Pitch = pitch; Roll = roll; }
internal override void HornBlow(HornTypes type) { try { this.Api.HornBlow(type); } catch (Exception ex) { base.LastException = ex; throw; } }
internal override void HornBlow(HornTypes type) { #if !DEBUG try { #endif this.Api.HornBlow(type); #if !DEBUG } catch (Exception ex) { base.LastException = ex; throw; } #endif }
public void HornBlow(HornTypes type) { if (type == HornTypes.Primary) { ATSPlugin.Cpp.HornBlow(0); } if (type == HornTypes.Secondary) { ATSPlugin.Cpp.HornBlow(1); } if (type == HornTypes.Music) { ATSPlugin.Cpp.HornBlow(2); } }
public void HornBlow(HornTypes type) { if (DVS.ResetOnKlaxon == 4) { DVS.ResetTimer(); } else { if (type == HornTypes.Primary && DVS.ResetOnKlaxon == 1) { DVS.ResetTimer(); } if (type == HornTypes.Secondary && DVS.ResetOnKlaxon == 2) { DVS.ResetTimer(); } if (type == HornTypes.Music && DVS.ResetOnKlaxon == 3) { DVS.ResetTimer(); } } }
/// <summary>Called when a horn is played or stopped.</summary> internal abstract void HornBlow(HornTypes type);
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> public void HornBlow(HornTypes type) { // TODO: Your old HornBlow code goes here. }
/// <summary> /// 警笛が扱われたときに呼び出される関数 /// </summary> /// <param name="type">警笛のタイプ</param> internal abstract void HornBlow(HornTypes type);
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> public void HornBlow(HornTypes type) { vacma.trainEvent(new TrainEvent(EventTypes.EventTypeBlowHorn, type)); }
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> public void HornBlow(HornTypes type) { }
/// <summary>Called when a horn is played or stopped.</summary> public abstract void HornBlow(HornTypes type);
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> internal virtual void HornBlow(HornTypes type) { }
public void HornBlow(HornTypes type) { }
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> public void HornBlow(HornTypes type) { this.Train.HornBlow(type); }
public void HornBlow(HornTypes _p1) { try { Impl.HornBlow((int)_p1); } catch (Exception ex) { RuntimeException(ex); } }
/// <summary>Is called when a horn is played or when the music horn is stopped.</summary> /// <param name="type">The type of horn.</param> internal override void HornBlow(HornTypes type) { }
public override void HornBlow(HornTypes type) { pipeProxy.HornBlow(type); }
/// <summary>警笛が扱われたときに呼び出される関数</summary> /// <param name="type">警笛のタイプ</param> public void HornBlow(HornTypes type) { this.Train.HornBlow(type); }
public void HornBlow(HornTypes type) { Win32DetailManagerPInvoke.HornBlow((int)type - 1); }