mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
24 lines
424 B
C#
24 lines
424 B
C#
namespace MoleMole
|
|
{
|
|
public class EvtFieldEnter : BaseEvent, IEvtWithOtherID
|
|
{
|
|
public readonly uint otherID;
|
|
|
|
public EvtFieldEnter(uint targetID, uint otherID)
|
|
: base(targetID)
|
|
{
|
|
this.otherID = otherID;
|
|
}
|
|
|
|
public uint GetOtherID()
|
|
{
|
|
return otherID;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("{0} entering field {1}", GetDebugName(otherID), GetDebugName(targetID));
|
|
}
|
|
}
|
|
}
|