mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Speed is now stored in the actor. Redid actor speed packet to use float. Added GameMessagePacket which can use all 20 msg packets. Added functions for lua side to call in player obj.
This commit is contained in:
@@ -598,7 +598,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
{
|
||||
playerSession.queuePacket(packet, true, false);
|
||||
}
|
||||
|
||||
|
||||
public void sendMessage(uint logType, string sender, string message)
|
||||
{
|
||||
queuePacket(SendMessagePacket.buildPacket(actorId, actorId, logType, sender, message));
|
||||
@@ -614,6 +614,32 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
queuePacket(QuitPacket.buildPacket(actorId));
|
||||
}
|
||||
|
||||
public void changeMusic(ushort musicId)
|
||||
{
|
||||
queuePacket(SetMusicPacket.buildPacket(actorId, musicId, 1));
|
||||
}
|
||||
|
||||
public void sendChocoboAppearance()
|
||||
{
|
||||
queuePacket(SetCurrentMountChocoboPacket.buildPacket(actorId, chocoboAppearance));
|
||||
}
|
||||
|
||||
public void sendGoobbueAppearance()
|
||||
{
|
||||
queuePacket(SetCurrentMountGoobbuePacket.buildPacket(actorId, 1));
|
||||
}
|
||||
|
||||
public void sendWorldMessage(ushort worldMasterId, params object[] msgParams)
|
||||
{
|
||||
//queuePacket(WorldMasterPacket.buildPacket());
|
||||
}
|
||||
|
||||
public void broadcastWorldMessage(ushort worldMasterId, params object[] msgParams)
|
||||
{
|
||||
//SubPacket worldMasterMessage =
|
||||
//zone.broadcastPacketAroundActor(this, worldMasterMessage);
|
||||
}
|
||||
|
||||
public void runEventFunction(string functionName, params object[] parameters)
|
||||
{
|
||||
List<LuaParam> lParams = LuaUtils.createLuaParamList(parameters);
|
||||
|
Reference in New Issue
Block a user