Skip to content

Commit fb3557d

Browse files
committed
remove duplicate interface methods
1 parent 81f3626 commit fb3557d

File tree

5 files changed

+0
-35
lines changed

5 files changed

+0
-35
lines changed

api/AltV.Net.Client/Elements/Interfaces/IBaseObject.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ namespace AltV.Net.Client.Elements.Interfaces
55
public interface IBaseObject : ISharedBaseObject
66
{
77
new ICore Core { get; }
8-
[Obsolete("Use Destroy() instead")]
9-
public void Remove();
10-
public void Destroy();
118
uint RemoteId { get; }
129
bool IsRemote { get; }
1310
}

api/AltV.Net.Shared/Elements/Entities/ISharedBlip.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,6 @@ public interface ISharedBlip : ISharedWorldObject
171171
/// Fades the blip
172172
/// </summary>
173173
void Fade(uint opacity, uint duration);
174-
175-
[Obsolete("Use Destroy() instead")]
176-
void Remove();
177-
178-
/// <summary>
179-
/// Destroy the blip.
180-
/// </summary>
181-
void Destroy();
182174
bool Visible { get; set; }
183175

184176
bool IsHiddenOnLegend { get; set; }

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ public interface IColShape : ISharedColShape, IWorldObject
1616
/// </summary>
1717
bool IsPlayersOnly { get; set; }
1818

19-
[Obsolete("Use Destroy() instead")]
20-
void Remove();
21-
22-
/// <summary>
23-
/// Destroy the collision shape
24-
/// </summary>
25-
void Destroy();
26-
2719
bool IsEntityIn(IEntity entity);
2820

2921
/// <summary>

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -562,14 +562,6 @@ public interface IVehicle : ISharedVehicle, IEntity
562562
/// </summary>
563563
string ScriptData { get; set; }
564564

565-
[Obsolete("Use Destroy() instead")]
566-
void Remove();
567-
568-
/// <summary>
569-
/// Destroy the vehicle entity
570-
/// </summary>
571-
void Destroy();
572-
573565
/// <summary>
574566
/// Repairs the vehicle
575567
/// </summary>

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ public interface IVoiceChannel : IBaseObject
5959
/// </summary>
6060
float MaxDistance { get; }
6161

62-
[Obsolete("Use Destroy() instead")]
63-
void Remove();
64-
65-
/// <summary>
66-
/// Destroy the voice channel
67-
/// </summary>
68-
void Destroy();
69-
7062
uint Filter { get; set; }
7163
int Priority { get; set; }
7264

0 commit comments

Comments
 (0)