Implemented a intra-zone teleport. Trigger Name is now sent to to the "eventStart" lua callback. Lua scripts can now access world manager.

This commit is contained in:
Filip Maj 2016-03-20 21:18:46 -04:00
parent 08fd862939
commit 2048d8d188
11 changed files with 92 additions and 31 deletions

View file

@ -26,7 +26,7 @@ namespace FFXIVClassic_Map_Server.packets.receive.events
public uint errorNum;
public string error = null;
public string eventStarter;
public string triggerName;
public List<LuaParam> luaParams;
@ -62,7 +62,7 @@ namespace FFXIVClassic_Map_Server.packets.receive.events
{
strList.Add(curByte);
}
eventStarter = Encoding.ASCII.GetString(strList.ToArray());
triggerName = Encoding.ASCII.GetString(strList.ToArray());
binReader.BaseStream.Seek(0x31, SeekOrigin.Begin);