diff --git a/Libs/BveTypes/ClassWrappers/Public/VehicleInstrumentSet.cs b/Libs/BveTypes/ClassWrappers/Public/VehicleInstrumentSet.cs index 6a933ffe..91297f05 100644 --- a/Libs/BveTypes/ClassWrappers/Public/VehicleInstrumentSet.cs +++ b/Libs/BveTypes/ClassWrappers/Public/VehicleInstrumentSet.cs @@ -27,6 +27,9 @@ private static void Initialize(BveTypeSet bveTypes) CabGetMethod = members.GetSourcePropertyGetterOf(nameof(Cab)); CabSetMethod = members.GetSourcePropertySetterOf(nameof(Cab)); + AtsPluginGetMethod = members.GetSourcePropertyGetterOf(nameof(AtsPlugin)); + AtsPluginSetMethod = members.GetSourcePropertySetterOf(nameof(AtsPlugin)); + PluginLoaderGetMethod = members.GetSourcePropertyGetterOf(nameof(PluginLoader)); PluginLoaderSetMethod = members.GetSourcePropertySetterOf(nameof(PluginLoader)); } @@ -70,11 +73,23 @@ public CabBase Cab internal set => CabSetMethod.Invoke(Src, new object[] { value.Src }); } + private static FastMethod AtsPluginGetMethod; + private static FastMethod AtsPluginSetMethod; + /// + /// ATS プラグインを表す を取得します。 + /// + public AtsPlugin AtsPlugin + { + get => ClassWrappers.AtsPlugin.FromSource(AtsPluginGetMethod.Invoke(Src, null)); + internal set => AtsPluginSetMethod.Invoke(Src, new object[] { value.Src }); + } + private static FastMethod PluginLoaderGetMethod; private static FastMethod PluginLoaderSetMethod; /// - /// プラグインの読込機能を提供する を取得します。 + /// 互換性のために残されている旧名のプロパティです。 を使用してください。 /// + [Obsolete] public PluginLoader PluginLoader { get => ClassWrappers.PluginLoader.FromSource(PluginLoaderGetMethod.Invoke(Src, null)); diff --git a/Libs/BveTypes/WrapTypes/5.8.7554.391.xml b/Libs/BveTypes/WrapTypes/5.8.7554.391.xml index d43acaa1..25832f0c 100644 --- a/Libs/BveTypes/WrapTypes/5.8.7554.391.xml +++ b/Libs/BveTypes/WrapTypes/5.8.7554.391.xml @@ -1319,6 +1319,10 @@ + + + + diff --git a/Libs/BveTypes/WrapTypes/6.0.7554.619.xml b/Libs/BveTypes/WrapTypes/6.0.7554.619.xml index d43acaa1..25832f0c 100644 --- a/Libs/BveTypes/WrapTypes/6.0.7554.619.xml +++ b/Libs/BveTypes/WrapTypes/6.0.7554.619.xml @@ -1319,6 +1319,10 @@ + + + +