Skip to content

Commit

Permalink
fix(shared): remove obsolete Id properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Dec 25, 2023
1 parent ba612d1 commit 68d0ad9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions api/AltV.Net.Async/Elements/Entities/AsyncEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ public class AsyncEntity : AsyncWorldObject, IEntity
protected readonly IEntity Entity;
public IntPtr EntityNativePointer => Entity.EntityNativePointer;

public uint Id => Entity.Id;

public IPlayer NetworkOwner
{
get
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Interfaces/ITextLabel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public interface ITextLabel : IWorldObject
{
IntPtr TextLabelNativePointer { get; }

uint Id { get; }
bool IsGlobal { get; }
IPlayer? Target { get; }
Rgba Color { get; set; }
Expand Down
6 changes: 0 additions & 6 deletions api/AltV.Net.Shared/Elements/Entities/ISharedEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ public interface ISharedEntity : ISharedWorldObject
{
IntPtr EntityNativePointer { get; }

/// <summary>
/// Get the entity id.
/// </summary>
/// <exception cref="EntityRemovedException">This entity was removed</exception>
uint Id { get; }

bool Exists { get; }

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Shared/Elements/Entities/ISharedMarker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace AltV.Net.Shared.Elements.Entities;
public interface ISharedMarker : ISharedWorldObject
{
IntPtr MarkerNativePointer { get; }
uint Id { get; }
bool IsGlobal { get; }
ISharedPlayer Target { get; }
Rgba Color { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace AltV.Net.Shared.Elements.Entities
public interface ISharedVirtualEntity : ISharedWorldObject
{
IntPtr VirtualEntityNativePointer { get; }
uint Id { get; }

ISharedVirtualEntityGroup Group { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ public interface ISharedVirtualEntityGroup : ISharedBaseObject
{
IntPtr VirtualEntityGroupNativePointer { get; }

uint Id { get; }

uint MaxEntitiesInStream { get; }
}
}

0 comments on commit 68d0ad9

Please sign in to comment.