Files
BH3/Assets/Scripts/Assembly-CSharp/MoleMole/EvtAfterBulletReflected.cs
2025-08-13 09:26:42 +08:00

30 lines
622 B
C#

namespace MoleMole
{
public class EvtAfterBulletReflected : BaseEvent, IEvtWithOtherID
{
public readonly uint bulletID;
public readonly uint launcherID;
public AttackData attackData;
public EvtAfterBulletReflected(uint targetID, uint bulletID, uint launcherID, AttackData attackData)
: base(targetID)
{
this.bulletID = bulletID;
this.launcherID = launcherID;
this.attackData = attackData;
}
public override string ToString()
{
return string.Format("{0} bullet hits {1}", GetDebugName(bulletID), GetDebugName(targetID));
}
public uint GetOtherID()
{
return bulletID;
}
}
}