mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-04 16:51:31 +02:00
Added npc ls saving/functionality.
This commit is contained in:
parent
3d4bf3465b
commit
90e48f9ddd
3 changed files with 79 additions and 0 deletions
|
@ -1254,6 +1254,19 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
return -1;
|
||||
}
|
||||
|
||||
public void SetNpcLS(uint npcLSId, bool isCalling, bool isExtra)
|
||||
{
|
||||
playerWork.npcLinkshellChatExtra[npcLSId] = isExtra;
|
||||
playerWork.npcLinkshellChatCalling[npcLSId] = isCalling;
|
||||
|
||||
Database.SaveNpcLS(this, npcLSId, isCalling, isExtra);
|
||||
|
||||
ActorPropertyPacketUtil propPacketUtil = new ActorPropertyPacketUtil("playerWork/npcLinkshellChat", this, actorId);
|
||||
propPacketUtil.AddProperty(String.Format("playerWork.npcLinkshellChatExtra[{0}]", npcLSId));
|
||||
propPacketUtil.AddProperty(String.Format("playerWork.npcLinkshellChatCalling[{0}]", npcLSId));
|
||||
QueuePackets(propPacketUtil.Done());
|
||||
}
|
||||
|
||||
private void SendQuestClientUpdate(int slot)
|
||||
{
|
||||
ActorPropertyPacketUtil propPacketUtil = new ActorPropertyPacketUtil("playerWork/journal", this, actorId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue