mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
Apply project code style to files
This commit is contained in:
parent
50a7552bba
commit
26921a3f0f
2 changed files with 1221 additions and 1212 deletions
|
@ -6,11 +6,13 @@
|
|||
/* This file has been automatically generated.
|
||||
Changes will be lost upon regeneration.
|
||||
To change the content edit tools/exd_common_gen */
|
||||
namespace Sapphire::Common {
|
||||
namespace Sapphire::Common
|
||||
{
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//ActionCategory.exd
|
||||
enum class ActionCategory : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//ActionCategory.exd
|
||||
enum class ActionCategory: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
Autoattack = 1,
|
||||
Spell = 2,
|
||||
|
@ -30,11 +32,12 @@ namespace Sapphire::Common {
|
|||
//1 = 16,
|
||||
Artillery = 17,
|
||||
//2 = 18,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//BaseParam.exd
|
||||
enum class BaseParam : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//BaseParam.exd
|
||||
enum class BaseParam: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
Strength = 1,
|
||||
Dexterity = 2,
|
||||
|
@ -109,25 +112,19 @@ namespace Sapphire::Common {
|
|||
Control = 71,
|
||||
Gathering = 72,
|
||||
Perception = 73,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//BeastReputationRank.exd
|
||||
enum class BeastReputationRank : uint8_t {
|
||||
None = 0,
|
||||
Neutral = 1,
|
||||
Recognized = 2,
|
||||
Friendly = 3,
|
||||
Trusted = 4,
|
||||
Respected = 5,
|
||||
Honored = 6,
|
||||
Sworn = 7,
|
||||
Allied = 8,
|
||||
};
|
||||
///////////////////////////////////////////////////////////
|
||||
//BeastReputationRank.exd
|
||||
enum class BeastReputationRank: uint8_t
|
||||
{
|
||||
None = 0, Neutral = 1, Recognized = 2, Friendly = 3, Trusted = 4, Respected = 5, Honored = 6, Sworn = 7, Allied = 8,
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//BeastTribe.exd
|
||||
enum class BeastTribe : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//BeastTribe.exd
|
||||
enum class BeastTribe: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
Amaljaa = 1,
|
||||
Sylphs = 2,
|
||||
|
@ -146,11 +143,12 @@ namespace Sapphire::Common {
|
|||
Arkasodara = 15,
|
||||
Omicrons = 16,
|
||||
Loporrits = 17,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//ClassJob.exd
|
||||
enum class ClassJob : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//ClassJob.exd
|
||||
enum class ClassJob: uint8_t
|
||||
{
|
||||
Adventurer = 0,
|
||||
Gladiator = 1,
|
||||
Pugilist = 2,
|
||||
|
@ -192,11 +190,12 @@ namespace Sapphire::Common {
|
|||
Dancer = 38,
|
||||
Reaper = 39,
|
||||
Sage = 40,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//ContentType.exd
|
||||
enum class ContentType : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//ContentType.exd
|
||||
enum class ContentType: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
DutyRoulette = 1,
|
||||
Dungeons = 2,
|
||||
|
@ -228,30 +227,34 @@ namespace Sapphire::Common {
|
|||
UltimateRaids = 28,
|
||||
//5 = 29,
|
||||
VAndCDungeonFinder = 30,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//EmoteCategory.exd
|
||||
enum class EmoteCategory : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//EmoteCategory.exd
|
||||
enum class EmoteCategory: uint8_t
|
||||
{
|
||||
None = 0, General = 1, Special = 2, Expressions = 3,
|
||||
//1 = 4,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//ExVersion.exd
|
||||
enum class ExVersion : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//ExVersion.exd
|
||||
enum class ExVersion: uint8_t
|
||||
{
|
||||
ARealmReborn = 0, Heavensward = 1, Stormblood = 2, Shadowbringers = 3, Endwalker = 4,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//GrandCompany.exd
|
||||
enum class GrandCompany : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//GrandCompany.exd
|
||||
enum class GrandCompany: uint8_t
|
||||
{
|
||||
None = 0, Maelstrom = 1, OrderoftheTwinAdder = 2, ImmortalFlames = 3,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//GuardianDeity.exd
|
||||
enum class GuardianDeity : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//GuardianDeity.exd
|
||||
enum class GuardianDeity: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
HalonetheFury = 1,
|
||||
MenphinatheLover = 2,
|
||||
|
@ -265,11 +268,12 @@ namespace Sapphire::Common {
|
|||
NaldthaltheTraders = 10,
|
||||
NophicatheMatron = 11,
|
||||
AlthyktheKeeper = 12,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//ItemUICategory.exd
|
||||
enum class ItemUICategory : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//ItemUICategory.exd
|
||||
enum class ItemUICategory: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
PugilistsArm = 1,
|
||||
GladiatorsArm = 2,
|
||||
|
@ -380,11 +384,12 @@ namespace Sapphire::Common {
|
|||
DancersArm = 107,
|
||||
ReapersArm = 108,
|
||||
SagesArm = 109,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//ItemSearchCategory.exd
|
||||
enum class ItemSearchCategory : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//ItemSearchCategory.exd
|
||||
enum class ItemSearchCategory: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
PrimaryArms = 1,
|
||||
PrimaryTools = 2,
|
||||
|
@ -486,11 +491,12 @@ namespace Sapphire::Common {
|
|||
8 = 98,
|
||||
9 = 99,
|
||||
10 = 100,*/
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//OnlineStatus.exd
|
||||
enum class OnlineStatus : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//OnlineStatus.exd
|
||||
enum class OnlineStatus: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
GameQA = 1,
|
||||
GameMaster = 2,
|
||||
|
@ -539,17 +545,19 @@ namespace Sapphire::Common {
|
|||
FreeCompany = 45,
|
||||
GrandCompany = 46,
|
||||
Online = 47,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//Race.exd
|
||||
enum class Race : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//Race.exd
|
||||
enum class Race: uint8_t
|
||||
{
|
||||
None = 0, Hyur = 1, Elezen = 2, Lalafell = 3, Miqote = 4, Roegadyn = 5, AuRa = 6, Hrothgar = 7, Viera = 8,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//Tribe.exd
|
||||
enum class Tribe : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//Tribe.exd
|
||||
enum class Tribe: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
Midlander = 1,
|
||||
Highlander = 2,
|
||||
|
@ -567,11 +575,12 @@ namespace Sapphire::Common {
|
|||
TheLost = 14,
|
||||
Rava = 15,
|
||||
Veena = 16,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//Town.exd
|
||||
enum class Town : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//Town.exd
|
||||
enum class Town: uint8_t
|
||||
{
|
||||
Nowheresville = 0, LimsaLominsa = 1, Gridania = 2, Uldah = 3, Ishgard = 4, //= 5,
|
||||
//1 = 6,
|
||||
Kugane = 7, //2 = 8,
|
||||
|
@ -579,11 +588,12 @@ namespace Sapphire::Common {
|
|||
Crystarium = 10, //4 = 11,
|
||||
OldSharlayan = 12,
|
||||
//5 = 13,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//Weather.exd
|
||||
enum class Weather : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//Weather.exd
|
||||
enum class Weather: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
ClearSkies = 1,
|
||||
FairSkies = 2,
|
||||
|
@ -763,11 +773,12 @@ namespace Sapphire::Common {
|
|||
DimensionalDisruption6 = 176,
|
||||
Pandaemonium3 = 177,
|
||||
Pandaemonium4 = 178,
|
||||
};
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//HousingAppeal.exd
|
||||
enum class HousingAppeal : uint8_t {
|
||||
///////////////////////////////////////////////////////////
|
||||
//HousingAppeal.exd
|
||||
enum class HousingAppeal: uint8_t
|
||||
{
|
||||
None = 0,
|
||||
Emporium = 1,
|
||||
Boutique = 2,
|
||||
|
@ -793,6 +804,6 @@ namespace Sapphire::Common {
|
|||
Bakery = 22,
|
||||
UnderRenovation = 23,
|
||||
ConcertHall = 24,
|
||||
};
|
||||
};
|
||||
}
|
||||
#endif
|
|
@ -3,16 +3,16 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Sapphire::Network::Packets
|
||||
{
|
||||
namespace Sapphire::Network::Packets {
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Lobby Connection IPC Codes
|
||||
/**
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Lobby Connection IPC Codes
|
||||
/**
|
||||
* Server IPC Lobby Type Codes.
|
||||
*/
|
||||
enum ServerLobbyIpcType : uint16_t
|
||||
{
|
||||
enum ServerLobbyIpcType :
|
||||
uint16_t
|
||||
{
|
||||
LobbyError = 0x0002,
|
||||
LobbyServiceAccountList = 0x000C,
|
||||
LobbyCharList = 0x000D,
|
||||
|
@ -21,28 +21,27 @@ namespace Sapphire::Network::Packets
|
|||
LobbyServerList = 0x0015,
|
||||
LobbyRetainerList = 0x0017,
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
/**
|
||||
* Client IPC Lobby Type Codes.
|
||||
*/
|
||||
enum ClientLobbyIpcType : uint16_t
|
||||
{
|
||||
ReqCharList = 0x0003,
|
||||
ReqEnterWorld = 0x0004,
|
||||
ClientVersionInfo = 0x0005,
|
||||
enum ClientLobbyIpcType :
|
||||
uint16_t
|
||||
{
|
||||
ReqCharList = 0x0003, ReqEnterWorld = 0x0004, ClientVersionInfo = 0x0005,
|
||||
|
||||
ReqCharDelete = 0x000A,
|
||||
ReqCharCreate = 0x000B,
|
||||
};
|
||||
ReqCharDelete = 0x000A, ReqCharCreate = 0x000B,
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Zone Connection IPC Codes
|
||||
/**
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Zone Connection IPC Codes
|
||||
/**
|
||||
* Server IPC Zone Type Codes.
|
||||
*/
|
||||
enum ServerZoneIpcType : uint16_t
|
||||
{
|
||||
enum ServerZoneIpcType :
|
||||
uint16_t
|
||||
{
|
||||
Ping = 0x2c0, // updated 6.40
|
||||
Init = 0x12a, // updated 6.40
|
||||
|
||||
|
@ -70,14 +69,11 @@ namespace Sapphire::Network::Packets
|
|||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
ChatBanned = 0xF06B,
|
||||
Playtime = 0x181, // updated 6.40
|
||||
ChatBanned = 0xF06B, Playtime = 0x181, // updated 6.40
|
||||
Logout = 0x18a, // updated 6.40
|
||||
CFNotify = 0x3e0, // updated 6.40
|
||||
CFMemberStatus = 0x0079,
|
||||
CFDutyInfo = 0xe0, // updated 6.40
|
||||
CFPlayerInNeed = 0xF07F,
|
||||
CFPreferredRole = 0x221, // updated 6.40
|
||||
CFMemberStatus = 0x0079, CFDutyInfo = 0xe0, // updated 6.40
|
||||
CFPlayerInNeed = 0xF07F, CFPreferredRole = 0x221, // updated 6.40
|
||||
CFCancel = 0x77, // updated 6.40
|
||||
SocialRequestError = 0xF0AD,
|
||||
|
||||
|
@ -330,13 +326,14 @@ namespace Sapphire::Network::Packets
|
|||
EnvironmentControl = 0x108, // updated 6.40
|
||||
IslandWorkshopSupplyDemand = 0x1b7, // updated 6.40
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
/**
|
||||
* Client IPC Zone Type Codes.
|
||||
*/
|
||||
enum ClientZoneIpcType : uint16_t
|
||||
{
|
||||
enum ClientZoneIpcType :
|
||||
uint16_t
|
||||
{
|
||||
PingHandler = 0x272, // updated 6.40
|
||||
InitHandler = 0x397, // updated 6.40
|
||||
|
||||
|
@ -357,8 +354,7 @@ namespace Sapphire::Network::Packets
|
|||
CreateCrossWorldLS = 0x035D, // updated 5.58h
|
||||
|
||||
ChatHandler = 0xd3, // updated 6.40
|
||||
PartyChatHandler = 0x0065,
|
||||
PartySetLeaderHandler = 0x036C, // updated 5.58h
|
||||
PartyChatHandler = 0x0065, PartySetLeaderHandler = 0x036C, // updated 5.58h
|
||||
LeavePartyHandler = 0x019D, // updated 5.58h
|
||||
KickPartyMemberHandler = 0x0262, // updated 5.58h
|
||||
DisbandPartyHandler = 0x0276, // updated 5.58h
|
||||
|
@ -441,30 +437,32 @@ namespace Sapphire::Network::Packets
|
|||
|
||||
WorldInteractionHandler = 0x0274, // updated 5.58h
|
||||
Dive = 0x018C, // updated 6.30h
|
||||
};
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Chat Connection IPC Codes
|
||||
/**
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Chat Connection IPC Codes
|
||||
/**
|
||||
* Server IPC Chat Type Codes.
|
||||
*/
|
||||
enum ServerChatIpcType : uint16_t
|
||||
{
|
||||
enum ServerChatIpcType :
|
||||
uint16_t
|
||||
{
|
||||
Tell = 0x0064, // updated for sb
|
||||
PublicContentTell = 0xF0FB, // added 4.5, this is used when receiving a /tell in PublicContent instances such as Eureka or Bozja (prepended F conflicts with TradeReturnEventHandler 6.38)
|
||||
TellErrNotFound = 0x0066,
|
||||
|
||||
FreeCompanyEvent = 0x012C, // added 5.0
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
/**
|
||||
* Client IPC Chat Type Codes.
|
||||
*/
|
||||
enum ClientChatIpcType : uint16_t
|
||||
{
|
||||
enum ClientChatIpcType :
|
||||
uint16_t
|
||||
{
|
||||
TellReq = 0x0064,
|
||||
PublicContentTellReq = 0x0326, // updated 5.35 hotfix, this is used when sending a /tell in PublicContent instances such as Eureka or Bozja
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue