Skip to content

Commit 0fff05d

Browse files
committed
Merge branch 'rc' into release
2 parents d99618a + bc69980 commit 0fff05d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

api/AltV.Net.Async/Elements/Entities/AsyncVehicle.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,21 +1994,21 @@ public List<PlayerSeat> Passengers
19941994
}
19951995
}
19961996

1997-
public void SetBage(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition)
1997+
public void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition)
19981998
{
19991999
lock (Vehicle)
20002000
{
20012001
if (!AsyncContext.CheckIfExistsOrCachedNullable(Vehicle)) return;
2002-
Vehicle.SetBage(textureDictionary, texture, vehicleBadgePosition);
2002+
Vehicle.SetBadge(textureDictionary, texture, vehicleBadgePosition);
20032003
}
20042004
}
20052005

2006-
public void SetBage(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition)
2006+
public void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition)
20072007
{
20082008
lock (Vehicle)
20092009
{
20102010
if (!AsyncContext.CheckIfExistsOrCachedNullable(Vehicle)) return;
2011-
Vehicle.SetBage(textureDictionary, texture, vehicleBadgePosition);
2011+
Vehicle.SetBadge(textureDictionary, texture, vehicleBadgePosition);
20122012
}
20132013
}
20142014

api/AltV.Net/Elements/Entities/IVehicle.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ NumberPlateStyle GetNumberPlateStyleExt() =>
863863
/// <param name="texture">The hash of texture</param>
864864
/// <param name="vehicleBadgePosition">The array of badge position. Maximum is 4</param>
865865
/// <exception cref="ArgumentOutOfRangeException">When badge postion is more the 4</exception>
866-
void SetBage(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition);
866+
void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition);
867867

868868
/// <summary>
869869
/// Set badges to vehicle
@@ -872,6 +872,6 @@ NumberPlateStyle GetNumberPlateStyleExt() =>
872872
/// <param name="texture">The hash of texture</param>
873873
/// <param name="vehicleBadgePosition">The array of badge position. Maximum is 4</param>
874874
/// <exception cref="ArgumentOutOfRangeException">When badge postion is more the 4</exception>
875-
void SetBage(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition);
875+
void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition);
876876
}
877877
}

api/AltV.Net/Elements/Entities/Vehicle.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,12 +2086,12 @@ public List<PlayerSeat> Passengers
20862086
}
20872087
}
20882088

2089-
public void SetBage(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition)
2089+
public void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition)
20902090
{
2091-
SetBage(Alt.Hash(textureDictionary), Alt.Hash(texture), vehicleBadgePosition);
2091+
SetBadge(Alt.Hash(textureDictionary), Alt.Hash(texture), vehicleBadgePosition);
20922092
}
20932093

2094-
public void SetBage(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition)
2094+
public void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition)
20952095
{
20962096
if (vehicleBadgePosition.Length > 4)
20972097
{

0 commit comments

Comments
 (0)