コード例 #1
0
 /// <summary>
 ///     Gets model information of the given type.
 /// </summary>
 /// <param name="infotype">The type of information to retrieve.</param>
 public                                     Vector3 this[VehicleModelInfoType infotype]
 {
     get
     {
         VehicleModelInfoInternal.Instance.GetVehicleModelInfo((int)Type, (int)infotype, out var x, out var y, out var z);
         return(new Vector3(x, y, z));
     }
 }
コード例 #2
0
ファイル: VehicleModelInfo.cs プロジェクト: WLSF/SampSharp
 /// <summary>
 ///     Gets model information of the given type.
 /// </summary>
 /// <param name="infotype">The type of information to retrieve.</param>
 public                                     Vector3 this[VehicleModelInfoType infotype]
 {
     get
     {
         float x, y, z;
         Native.GetVehicleModelInfo((int)Type, (int)infotype, out x, out y, out z);
         return(new Vector3(x, y, z));
     }
 }
コード例 #3
0
ファイル: VehicleModelInfo.cs プロジェクト: Xalphox/SampSharp
 /// <summary>
 ///     Gets model information of the given type.
 /// </summary>
 /// <param name="infotype">The type of information to retrieve.</param>
 public Vector3 this[VehicleModelInfoType infotype]
 {
     get
     {
         float x, y, z;
         Internal.GetVehicleModelInfo((int) Type, (int) infotype, out x, out y, out z);
         return new Vector3(x, y, z);
     }
 }