xy-server/game/object/PubStruct.ts

34 lines
447 B
TypeScript
Raw Permalink Normal View History

2025-04-23 09:34:08 +08:00

class CWorldBomb
{
constructor(nNpc)
{
this.nNpc = nNpc;
this.nOnlyID = 0;
this.nChallenge = 0;
this.vecApply = [];
}
Reset()
{
this.nChallenge = 0;
this.vecApply = [];
}
}
class CPos
{
constructor(nMap, nX, nY)
{
this.map = nMap;
this.x = nX;
this.y = nY;
}
}
module.exports.CWorldBomb = CWorldBomb;
module.exports.CPos = CPos;