mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-28 13:26:08 +02:00
Added the game message packets. Fixed "canRideChocobo" param in zone not working. Added a lot more function for lua to access. Various minor changes.
This commit is contained in:
parent
cfb29b912f
commit
c83b4a12b9
13 changed files with 259 additions and 166 deletions
|
@ -221,6 +221,11 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
return className;
|
||||
}
|
||||
|
||||
public ushort getState()
|
||||
{
|
||||
return currentMainState;
|
||||
}
|
||||
|
||||
public List<LuaParam> getLuaParams()
|
||||
{
|
||||
return classParams;
|
||||
|
@ -230,7 +235,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
{
|
||||
currentMainState = newState;
|
||||
SubPacket changeStatePacket = SetActorStatePacket.buildPacket(actorId, actorId, newState, currentSubState);
|
||||
SubPacket battleActionPacket = BattleAction1Packet.buildPacket(actorId, actorId);
|
||||
zone.broadcastPacketAroundActor(this, changeStatePacket);
|
||||
zone.broadcastPacketAroundActor(this, battleActionPacket);
|
||||
}
|
||||
|
||||
public void changeSpeed(int type, float value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue