diff --git a/Libs/BveTypes/ClassWrappers/Public/MapObjectList.cs b/Libs/BveTypes/ClassWrappers/Public/MapObjectList.cs index d6ff6da4..a4eb6e6a 100644 --- a/Libs/BveTypes/ClassWrappers/Public/MapObjectList.cs +++ b/Libs/BveTypes/ClassWrappers/Public/MapObjectList.cs @@ -27,6 +27,8 @@ private static void Initialize(BveTypeSet bveTypes) CurrentIndexGetMethod = members.GetSourcePropertyGetterOf(nameof(CurrentIndex)); CurrentIndexSetMethod = members.GetSourcePropertySetterOf(nameof(CurrentIndex)); + + GoToMethod = members.GetSourceMethodOf(nameof(GoTo)); } /// @@ -58,5 +60,12 @@ public int CurrentIndex get => (int)CurrentIndexGetMethod.Invoke(Src, null); set => CurrentIndexSetMethod.Invoke(Src, new object[] { value }); } + + private static FastMethod GoToMethod; + /// + /// 指定したインデックスへ移動します。 + /// + /// + public void GoTo(int index) => GoToMethod.Invoke(Src, new object[] { index }); } } diff --git a/Libs/BveTypes/WrapTypes/5.8.7554.391.xml b/Libs/BveTypes/WrapTypes/5.8.7554.391.xml index 3183941c..556a87c2 100644 --- a/Libs/BveTypes/WrapTypes/5.8.7554.391.xml +++ b/Libs/BveTypes/WrapTypes/5.8.7554.391.xml @@ -414,6 +414,8 @@ + + diff --git a/Libs/BveTypes/WrapTypes/6.0.7554.619.xml b/Libs/BveTypes/WrapTypes/6.0.7554.619.xml index 3183941c..556a87c2 100644 --- a/Libs/BveTypes/WrapTypes/6.0.7554.619.xml +++ b/Libs/BveTypes/WrapTypes/6.0.7554.619.xml @@ -414,6 +414,8 @@ + +