@@ -18,7 +18,7 @@ namespace Content.Shared.Interfaces.GameObjects.Components
|
||||
/// <summary>
|
||||
/// The entity that threw <see cref="Thrown"/> and hit <see cref="Target"/>.
|
||||
/// </summary>
|
||||
public IEntity? User { get; }
|
||||
public IEntity User { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The entity thrown by <see cref="User"/> that hit <see cref="Target"/>
|
||||
@@ -29,12 +29,14 @@ namespace Content.Shared.Interfaces.GameObjects.Components
|
||||
/// The entity hit with <see cref="Thrown"/> by <see cref="User"/>
|
||||
/// </summary>
|
||||
public IEntity Target { get; }
|
||||
public EntityCoordinates Location { get; }
|
||||
|
||||
public ThrowCollideEventArgs(IEntity? user, IEntity thrown, IEntity target)
|
||||
public ThrowCollideEventArgs(IEntity user, IEntity thrown, IEntity target, EntityCoordinates location)
|
||||
{
|
||||
User = user;
|
||||
Thrown = thrown;
|
||||
Target = target;
|
||||
Location = location;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +50,7 @@ namespace Content.Shared.Interfaces.GameObjects.Components
|
||||
/// <summary>
|
||||
/// The entity that threw <see cref="Thrown"/>.
|
||||
/// </summary>
|
||||
public IEntity? User { get; }
|
||||
public IEntity User { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The entity thrown by <see cref="User"/> that hit <see cref="Target"/>
|
||||
@@ -59,12 +61,14 @@ namespace Content.Shared.Interfaces.GameObjects.Components
|
||||
/// The entity hit with <see cref="Thrown"/> by <see cref="User"/>
|
||||
/// </summary>
|
||||
public IEntity Target { get; }
|
||||
public EntityCoordinates Location { get; }
|
||||
|
||||
public ThrowCollideMessage(IEntity? user, IEntity thrown, IEntity target)
|
||||
public ThrowCollideMessage(IEntity user, IEntity thrown, IEntity target, EntityCoordinates location)
|
||||
{
|
||||
User = user;
|
||||
Thrown = thrown;
|
||||
Target = target;
|
||||
Location = location;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user