mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-22 02:26:07 +02:00
Added event conditions to the database. This is a JSON object that stores all types of conditions. The server also sends the correct packets to enable these conditions (minus the push packets... those aren't implemented).
This commit is contained in:
parent
3b48ed1f74
commit
7bc3c8c2dd
13 changed files with 192 additions and 41 deletions
68
FFXIVClassic Map Server/actors/EventList.cs
Normal file
68
FFXIVClassic Map Server/actors/EventList.cs
Normal file
|
@ -0,0 +1,68 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FFXIVClassic_Map_Server.actors
|
||||
{
|
||||
class EventList
|
||||
{
|
||||
public List<TalkEventCondition> talkEventConditions;
|
||||
public List<NoticeEventCondition> noticeEventConditions;
|
||||
public List<EmoteEventCondition> emoteEventConditions;
|
||||
public List<PushCircleEventCondition> pushWithCircleEventConditions;
|
||||
public List<PushFanEventCondition> pushWithFanEventConditions;
|
||||
public List<PushBoxEventCondition> pushWithBoxEventConditions;
|
||||
|
||||
public class TalkEventCondition
|
||||
{
|
||||
public byte unknown1;
|
||||
public byte unknown2;
|
||||
public string conditionName;
|
||||
}
|
||||
|
||||
public class NoticeEventCondition
|
||||
{
|
||||
public byte unknown1;
|
||||
public byte unknown2;
|
||||
public string conditionName;
|
||||
}
|
||||
|
||||
public class EmoteEventCondition
|
||||
{
|
||||
public byte unknown1;
|
||||
public byte unknown2;
|
||||
public byte emoteId;
|
||||
public string conditionName;
|
||||
}
|
||||
|
||||
public class PushCircleEventCondition
|
||||
{
|
||||
public byte unknown1;
|
||||
public byte unknown2;
|
||||
public byte unknown4;
|
||||
public byte emoteId;
|
||||
public float radius;
|
||||
public int unknown5;
|
||||
public float unknown6;
|
||||
public string conditionName;
|
||||
}
|
||||
|
||||
public class PushFanEventCondition
|
||||
{
|
||||
byte unknown1;
|
||||
byte unknown2;
|
||||
byte emoteId;
|
||||
string conditionName;
|
||||
}
|
||||
|
||||
public class PushBoxEventCondition
|
||||
{
|
||||
byte unknown1;
|
||||
byte unknown2;
|
||||
byte emoteId;
|
||||
string conditionName;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue