mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 00:44:49 +01:00
30 lines
622 B
C#
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;
|
|
}
|
|
}
|
|
}
|