1
Fork 0
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:
Maple 2023-05-23 19:24:38 -03:00
parent 50a7552bba
commit 26921a3f0f
2 changed files with 1221 additions and 1212 deletions

View file

@ -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 {
enum class ActionCategory: uint8_t
{
None = 0,
Autoattack = 1,
Spell = 2,
@ -34,7 +36,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//BaseParam.exd
enum class BaseParam : uint8_t {
enum class BaseParam: uint8_t
{
None = 0,
Strength = 1,
Dexterity = 2,
@ -113,21 +116,15 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//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,
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 {
enum class BeastTribe: uint8_t
{
None = 0,
Amaljaa = 1,
Sylphs = 2,
@ -150,7 +147,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//ClassJob.exd
enum class ClassJob : uint8_t {
enum class ClassJob: uint8_t
{
Adventurer = 0,
Gladiator = 1,
Pugilist = 2,
@ -196,7 +194,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//ContentType.exd
enum class ContentType : uint8_t {
enum class ContentType: uint8_t
{
None = 0,
DutyRoulette = 1,
Dungeons = 2,
@ -232,26 +231,30 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//EmoteCategory.exd
enum class EmoteCategory : uint8_t {
enum class EmoteCategory: uint8_t
{
None = 0, General = 1, Special = 2, Expressions = 3,
//1 = 4,
};
///////////////////////////////////////////////////////////
//ExVersion.exd
enum class ExVersion : uint8_t {
enum class ExVersion: uint8_t
{
ARealmReborn = 0, Heavensward = 1, Stormblood = 2, Shadowbringers = 3, Endwalker = 4,
};
///////////////////////////////////////////////////////////
//GrandCompany.exd
enum class GrandCompany : uint8_t {
enum class GrandCompany: uint8_t
{
None = 0, Maelstrom = 1, OrderoftheTwinAdder = 2, ImmortalFlames = 3,
};
///////////////////////////////////////////////////////////
//GuardianDeity.exd
enum class GuardianDeity : uint8_t {
enum class GuardianDeity: uint8_t
{
None = 0,
HalonetheFury = 1,
MenphinatheLover = 2,
@ -269,7 +272,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//ItemUICategory.exd
enum class ItemUICategory : uint8_t {
enum class ItemUICategory: uint8_t
{
None = 0,
PugilistsArm = 1,
GladiatorsArm = 2,
@ -384,7 +388,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//ItemSearchCategory.exd
enum class ItemSearchCategory : uint8_t {
enum class ItemSearchCategory: uint8_t
{
None = 0,
PrimaryArms = 1,
PrimaryTools = 2,
@ -490,7 +495,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//OnlineStatus.exd
enum class OnlineStatus : uint8_t {
enum class OnlineStatus: uint8_t
{
None = 0,
GameQA = 1,
GameMaster = 2,
@ -543,13 +549,15 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//Race.exd
enum class Race : uint8_t {
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 {
enum class Tribe: uint8_t
{
None = 0,
Midlander = 1,
Highlander = 2,
@ -571,7 +579,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//Town.exd
enum class Town : uint8_t {
enum class Town: uint8_t
{
Nowheresville = 0, LimsaLominsa = 1, Gridania = 2, Uldah = 3, Ishgard = 4, //= 5,
//1 = 6,
Kugane = 7, //2 = 8,
@ -583,7 +592,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//Weather.exd
enum class Weather : uint8_t {
enum class Weather: uint8_t
{
None = 0,
ClearSkies = 1,
FairSkies = 2,
@ -767,7 +777,8 @@ namespace Sapphire::Common {
///////////////////////////////////////////////////////////
//HousingAppeal.exd
enum class HousingAppeal : uint8_t {
enum class HousingAppeal: uint8_t
{
None = 0,
Emporium = 1,
Boutique = 2,

View file

@ -3,15 +3,15 @@
#include <stdint.h>
namespace Sapphire::Network::Packets
{
namespace Sapphire::Network::Packets {
////////////////////////////////////////////////////////////////////////////////
/// Lobby Connection IPC Codes
/**
* Server IPC Lobby Type Codes.
*/
enum ServerLobbyIpcType : uint16_t
enum ServerLobbyIpcType :
uint16_t
{
LobbyError = 0x0002,
LobbyServiceAccountList = 0x000C,
@ -26,14 +26,12 @@ namespace Sapphire::Network::Packets
/**
* Client IPC Lobby Type Codes.
*/
enum ClientLobbyIpcType : uint16_t
enum ClientLobbyIpcType :
uint16_t
{
ReqCharList = 0x0003,
ReqEnterWorld = 0x0004,
ClientVersionInfo = 0x0005,
ReqCharList = 0x0003, ReqEnterWorld = 0x0004, ClientVersionInfo = 0x0005,
ReqCharDelete = 0x000A,
ReqCharCreate = 0x000B,
ReqCharDelete = 0x000A, ReqCharCreate = 0x000B,
};
////////////////////////////////////////////////////////////////////////////////
@ -41,7 +39,8 @@ namespace Sapphire::Network::Packets
/**
* 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,
@ -335,7 +331,8 @@ namespace Sapphire::Network::Packets
/**
* 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
@ -448,7 +444,8 @@ namespace Sapphire::Network::Packets
/**
* 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)
@ -460,7 +457,8 @@ namespace Sapphire::Network::Packets
/**
* 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