2016-03-23 01:27:12 -04:00
|
|
|
|
using FFXIVClassic_Lobby_Server.packets;
|
2016-04-14 08:30:21 -04:00
|
|
|
|
using FFXIVClassic_Map_Server.Actors;
|
2016-03-23 01:27:12 -04:00
|
|
|
|
using FFXIVClassic_Map_Server.lua;
|
|
|
|
|
using FFXIVClassic_Map_Server.packets.send.actor;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_Map_Server.actors.director
|
|
|
|
|
{
|
|
|
|
|
class OpeningDirector : Director
|
|
|
|
|
{
|
2016-04-14 08:30:21 -04:00
|
|
|
|
public OpeningDirector(Player player, uint id) : base(player, id)
|
2016-03-23 01:27:12 -04:00
|
|
|
|
{
|
|
|
|
|
this.displayNameId = 0;
|
2016-03-30 20:15:21 -04:00
|
|
|
|
this.customDisplayName = "openingDire";
|
2016-03-23 01:27:12 -04:00
|
|
|
|
|
2016-03-30 20:15:21 -04:00
|
|
|
|
this.actorName = "openingDire";
|
2016-03-23 01:27:12 -04:00
|
|
|
|
this.className = "OpeningDirector";
|
|
|
|
|
|
|
|
|
|
this.eventConditions = new EventList();
|
|
|
|
|
|
|
|
|
|
List<EventList.NoticeEventCondition> noticeEventList = new List<EventList.NoticeEventCondition>();
|
|
|
|
|
|
|
|
|
|
noticeEventList.Add(new EventList.NoticeEventCondition("noticeEvent", 0xE, 0x0));
|
|
|
|
|
noticeEventList.Add(new EventList.NoticeEventCondition("noticeRequest", 0x0, 0x1));
|
|
|
|
|
|
|
|
|
|
this.eventConditions.noticeEventConditions = noticeEventList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override SubPacket createScriptBindPacket(uint playerActorId)
|
|
|
|
|
{
|
|
|
|
|
List<LuaParam> lParams;
|
|
|
|
|
lParams = LuaUtils.createLuaParamList("/Director/OpeningDirector", false, false, false, false, 0x13881);
|
|
|
|
|
return ActorInstantiatePacket.buildPacket(actorId, playerActorId, actorName, className, lParams);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|