first commit
This commit is contained in:
21
NitroxModel/Packets/AggressiveWhenSeeTargetChanged.cs
Normal file
21
NitroxModel/Packets/AggressiveWhenSeeTargetChanged.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using NitroxModel.DataStructures;
|
||||
|
||||
namespace NitroxModel.Packets;
|
||||
|
||||
[Serializable]
|
||||
public class AggressiveWhenSeeTargetChanged : Packet
|
||||
{
|
||||
public NitroxId CreatureId { get; }
|
||||
public NitroxId TargetId { get; }
|
||||
public bool Locked { get; }
|
||||
public float AggressionAmount { get; }
|
||||
|
||||
public AggressiveWhenSeeTargetChanged(NitroxId creatureId, NitroxId targetId, bool locked, float aggressionAmount)
|
||||
{
|
||||
CreatureId = creatureId;
|
||||
TargetId = targetId;
|
||||
Locked = locked;
|
||||
AggressionAmount = aggressionAmount;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user