1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 15:17:46 +00:00

Update server opcodes to 6.31 (Thanks Flawed!)

This commit is contained in:
Maple 2023-01-27 00:33:31 -03:00
parent 206b98e1df
commit 7dfbe76436

View file

@ -1,16 +1,16 @@
#ifndef _CORE_NETWORK_PACKETS_IPCS_H #ifndef _CORE_NETWORK_PACKETS_IPCS_H
#define _CORE_NETWORK_PACKETS_IPCS_H #define _CORE_NETWORK_PACKETS_IPCS_H
#include <stdint.h> #include <stdint.h>
namespace Sapphire::Network::Packets namespace Sapphire::Network::Packets
{ {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// Lobby Connection IPC Codes /// Lobby Connection IPC Codes
/** /**
* Server IPC Lobby Type Codes. * Server IPC Lobby Type Codes.
*/ */
enum ServerLobbyIpcType : uint16_t enum ServerLobbyIpcType : uint16_t
{ {
LobbyError = 0x0002, LobbyError = 0x0002,
@ -24,8 +24,8 @@ namespace Sapphire::Network::Packets
}; };
/** /**
* Client IPC Lobby Type Codes. * Client IPC Lobby Type Codes.
*/ */
enum ClientLobbyIpcType : uint16_t enum ClientLobbyIpcType : uint16_t
{ {
ReqCharList = 0x0003, ReqCharList = 0x0003,
@ -39,285 +39,297 @@ namespace Sapphire::Network::Packets
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// Zone Connection IPC Codes /// Zone Connection IPC Codes
/** /**
* Server IPC Zone Type Codes. * Server IPC Zone Type Codes.
*/ */
enum ServerZoneIpcType : uint16_t enum ServerZoneIpcType : uint16_t
{ {
Ping = 0x00DA, // updated 6.30h Ping = 0x0108, // updated 6.31
Init = 0x01E4, // updated 6.30h Init = 0x03d4, // updated 6.31
ActorFreeSpawn = 0x28a, // updated 6.30h ActorFreeSpawn = 0x1c3, // updated 6.31
InitZone = 0x222, // updated 6.30h
EffectResult = 0x22c, // updated 6.30h InitZone = 0x94, // updated 6.31
EffectResultBasic = 0x384, // updated 6.30h PrepareZoning = 0x1d7, // updated 6.31
ActorControl = 0x179, // updated 6.30h EffectResult = 0x36c, // updated 6.31
ActorControlSelf = 0x26f, // updated 6.30h EffectResultBasic = 0x2e9, // updated 6.31
ActorControlTarget = 0x220, // updated 6.30h
ActorControl = 0x363, // updated 6.31
ActorControlTarget = 0x1ec, // updated 6.31
ActorControlSelf = 0x267, // updated 6.31
ActorCast = 0x207, // updated 6.31
ActorSetPos = 0x186, // updated 6.31
ActorMove = 0x2a1, // updated 6.31
ActorGauge = 0xa9, // updated 6.31
/*! /*!
* @brief Used when resting * @brief Used when resting
*/ */
UpdateHpMpTp = 0x383, // updated 6.30h UpdateHpMpTp = 0x10d, // updated 6.31
UpdateClassInfo = 0xbd, // updated 6.31
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
ChatBanned = 0xF06B, ChatBanned = 0xF06B,
Playtime = 0x326, // updated 6.30h Playtime = 0x171, // updated 6.31
Logout = 0x1d0, // updated 6.30h Logout = 0x243, // updated 6.31
CFNotify = 0x38b, // updated 6.30h CFNotify = 0x3a0, // updated 6.31
CFMemberStatus = 0x0079, CFMemberStatus = 0x0079,
CFDutyInfo = 0x1f8, // updated 6.30h CFDutyInfo = 0x3a9, // updated 6.31
CFPlayerInNeed = 0xF07F, CFPlayerInNeed = 0xF07F,
CFPreferredRole = 0xde, // updated 6.30h CFPreferredRole = 0x2ef, // updated 6.31
CFCancel = 0x102, // updated 6.30h CFCancel = 0x39a, // updated 6.31
SocialRequestError = 0xF0AD, SocialRequestError = 0xF0AD,
CFRegistered = 0x029F, // updated 5.58 hotfix CFRegistered = 0x029F, // updated 5.58 hotfix
SocialRequestResponse = 0x95, // updated 6.30h SocialRequestResponse = 0x18c, // updated 6.31
SocialMessage = 0x03CB, // updated 5.58 hotfix SocialMessage = 0x03CB, // updated 5.58 hotfix
SocialMessage2 = 0x01D7, // updated 5.58 hotfix SocialMessage2 = 0x01D7, // updated 5.58 hotfix
CancelAllianceForming = 0xF0C6, // updated 4.2 CancelAllianceForming = 0xF0C6, // updated 4.2
LogMessage = 0x343, // updated 6.30h LogMessage = 0x27f, // updated 6.31
Chat = 0x10a, // updated 6.30h Chat = 0x353, // updated 6.31
PartyChat = 0x0065, PartyChat = 0x0065,
WorldVisitList = 0xF0FE, // added 4.5 WorldVisitList = 0xF0FE, // added 4.5
SocialList = 0x01f1, // updated 6.30h SocialList = 0x1f4, // updated 6.31
ExamineSearchInfo = 0x30e, // updated 6.30h ExamineSearchInfo = 0x33e, // updated 6.31
UpdateSearchInfo = 0x34a, // updated 6.30h UpdateSearchInfo = 0x226, // updated 6.31
InitSearchInfo = 0x0321, // updated 5.58 hotfix InitSearchInfo = 0x0321, // updated 5.58 hotfix
ExamineSearchComment = 0x30c, // updated 6.30h ExamineSearchComment = 0x279, // updated 6.31
ServerNoticeShort = 0x0333, // updated 5.58 hotfix ServerNoticeShort = 0x0333, // updated 5.58 hotfix
ServerNotice = 0x0363, // updated 5.58 hotfix ServerNotice = 0x0363, // updated 5.58 hotfix
SetOnlineStatus = 0x324, // updated 6.30h SystemLogMessage = 0x174, // updated 6.31
SetOnlineStatus = 0x3da, // updated 6.31
CountdownInitiate = 0x3b1, // updated 6.30h CountdownInitiate = 0x1ff, // updated 6.31
CountdownCancel = 0xb6, // updated 6.30h CountdownCancel = 0x140, // updated 6.31
PlayerAddedToBlacklist = 0x399, // updated 6.30h PlayerAddedToBlacklist = 0x27c, // updated 6.31
PlayerRemovedFromBlacklist = 0x1dc, // updated 6.30h PlayerRemovedFromBlacklist = 0x21e, // updated 6.31
BlackList = 0x016B, // updated 6.30h BlackList = 0x0282, // updated 6.31
LinkshellList = 0x1e2, // updated 6.30h LinkshellList = 0xf2, // updated 6.31
CrossWorldLinkshellList = 0x262, // updated 6.31 or 0x2a5 or 0xa7 or 0x168 or 0x1a8 or 0x238 or 0x32b or 0x133 or 0x1b4 or 0x2d4 or 0x218
MailDeleteRequest = 0xF12B, // updated 5.0 MailDeleteRequest = 0xF12B, // updated 5.0
// 12D - 137 - constant gap between 4.5x -> 5.0 // 12D - 137 - constant gap between 4.5x -> 5.0
ReqMoogleMailList = 0xF138, // updated 5.0 ReqMoogleMailList = 0xF138, // updated 5.0
ReqMoogleMailLetter = 0xF139, // updated 5.0 ReqMoogleMailLetter = 0xF139, // updated 5.0
MailLetterNotification = 0x013A, // updated 5.0 MailLetterNotification = 0x013A, // updated 5.0
MarketTaxRates = 0x01F8, // updated 5.35 hotfix MarketTaxRates = 0x01F8, // updated 5.35 hotfix
MarketBoardSearchResult = 0x21e, // updated 6.30h MarketBoardSearchResult = 0x233, // updated 6.31
MarketBoardItemListingCount = 0xaa, // updated 6.30h MarketBoardItemListingCount = 0x3bf, // updated 6.31
MarketBoardItemListingHistory = 0xa8, // updated 6.30h MarketBoardItemListingHistory = 0x296, // updated 6.31
MarketBoardItemListing = 0x2f1, // updated 6.30h MarketBoardItemListing = 0x155, // updated 6.31
MarketBoardPurchase = 0x312, // updated 6.31
ItemMarketBoardInfo = 0x308, // updated 6.31
CharaFreeCompanyTag = 0x013B, // updated 4.5 CharaFreeCompanyTag = 0x013B, // updated 4.5
FreeCompanyBoardMsg = 0x03DB, // updated 5.58 hotfix FreeCompanyBoardMsg = 0x03DB, // updated 5.58 hotfix
FreeCompanyInfo = 0x1dd, // updated 5.58 hotfix FreeCompanyInfo = 0x68, // updated 6.31
ExamineFreeCompanyInfo = 0xcd, // updated 5.58 hotfix FreeCompanyDialog = 0x184, // updated 6.31
ExamineFreeCompanyInfo = 0x177, // updated 6.31
FreeCompanyUpdateShortMessage = 0xF157, // added 5.0 FreeCompanyUpdateShortMessage = 0xF157, // added 5.0
StatusEffectList = 0x2bc, // updated 6.30h StatusEffectList = 0x2a4, // updated 6.31
EurekaStatusEffectList = 0x353, // updated 6.30h EurekaStatusEffectList = 0x1de, // updated 6.31
BossStatusEffectList = 0x1ee, // updated 6.30h BossStatusEffectList = 0xa6, // updated 6.31
Effect = 0x1c9, // updated 6.30h StatusEffectList2 = 0x9c, // updated 6.31
AoeEffect8 = 0x24a, // updated 6.30h StatusEffectList3 = 0x24d, // updated 6.31
AoeEffect16 = 0x38a, // updated 6.30h Effect = 0x3c1, // updated 6.31
AoeEffect24 = 0xc8, // updated 6.30h AoeEffect8 = 0x78, // updated 6.31
AoeEffect32 = 0x32b, // updated 6.30h AoeEffect16 = 0x398, // updated 6.31
PersistantEffect = 0x24c, // updated 6.30h AoeEffect24 = 0x2ea, // updated 6.31
AoeEffect32 = 0x210, // updated 6.31
PersistantEffect = 0x24d, // updated 6.31
GCAffiliation = 0x372, // updated 6.30h GCAffiliation = 0x114, // updated 6.31
PlayerSpawn = 0x007f, // updated 6.30h PlayerSpawn = 0x187, // updated 6.31
NpcSpawn = 0x39e, // updated 6.30h NpcSpawn = 0x391, // updated 6.31
NpcSpawn2 = 0x2e5, // updated 6.30h NpcSpawn2 = 0x225, // updated 6.31
ActorMove = 0x1db, // updated 6.30h
ActorSetPos = 0x18c, // updated 6.30h
ActorCast = 0x29c, // updated 6.30h
SomeCustomiseChangePacketProbably = 0x00CD, // added 5.18 SomeCustomiseChangePacketProbably = 0x00CD, // added 5.18
PartyList = 0x1f6, // updated 6.30h PartyList = 0x211, // updated 6.31
PartyMessage = 0x1e8, // updated 6.30h PartyMessage = 0x349, // updated 6.31
HateRank = 0x134, // updated 6.30h HateRank = 0x250, // updated 6.31
HateList = 0x2f9, // updated 6.30h HateList = 0x359, // updated 6.31
ObjectSpawn = 0x31b, // updated 6.30h ObjectSpawn = 0x11a, // updated 6.31
ObjectDespawn = 0x1b3, // updated 6.30h ObjectDespawn = 0xa4, // updated 6.31
UpdateClassInfo = 0x2d9, // updated 6.30h
SilentSetClassJob = 0xF18E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything SilentSetClassJob = 0xF18E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything
PlayerSetup = 0x2b3, // updated 6.30h PlayerSetup = 0x373, // updated 6.31
PlayerStats = 0x1b8, // updated 6.30h PlayerStats = 0x272, // updated 6.31
ActorOwner = 0x2b3, // updated 6.30h ActorOwner = 0x373, // updated 6.31
PlayerStateFlags = 0xd5, // updated 6.30h PlayerStateFlags = 0x1b7, // updated 6.31
PlayerClassInfo = 0x2a6, // updated 6.30h PlayerClassInfo = 0x3a5, // updated 6.31
CharaVisualEffect = 0x1e9, // updated 6.30h PlayerUpdateLook = 0x1ba, // updated 6.31
CharaVisualEffect = 0x180, // updated 6.31
ModelEquip = 0x286, // updated 6.30h ModelEquip = 0x212, // updated 6.31
Examine = 0x1BC, // updated 6.30h Examine = 0x121, // updated 6.31
CharaNameReq = 0x35c, // updated 6.30h CharaNameReq = 0x2e7, // updated 6.31
// nb: see #565 on github // nb: see #565 on github
UpdateRetainerItemSalePrice = 0xF19F, // updated 5.0 UpdateRetainerItemSalePrice = 0xF19F, // updated 5.0
RetainerSaleHistory = 0x14a, // updated 6.30h RetainerSaleHistory = 0x37c, // updated 6.31
RetainerInformation = 0x39c, // Updated 6.30h RetainerInformation = 0xb0, // updated 6.31
SetLevelSync = 0x1186, // not updated for 4.4, not sure what it is anymore SetLevelSync = 0x1186, // not updated for 4.4, not sure what it is anymore
ItemInfo = 0x302, // updated 6.30h ItemInfo = 0x335, // updated 6.31
ContainerInfo = 0x255, // updated 6.30h ContainerInfo = 0x3c3, // updated 6.31
InventoryTransactionFinish = 0x1be, // updated 6.30h InventoryTransactionFinish = 0x317, // updated 6.31
InventoryTransaction = 0x77, // updated 6.30h InventoryTransaction = 0xd3, // updated 6.31
CurrencyCrystalInfo = 0x2bb, // updated 6.30h CurrencyCrystalInfo = 0x37b, // updated 6.31
InventoryActionAck = 0x1eb, // updated 6.30h InventoryActionAck = 0x34a, // updated 6.31
UpdateInventorySlot = 0x10e, // updated 6.30h UpdateInventorySlot = 0x3e7, // updated 6.31
HuntingLogEntry = 0x2ca, // updated 6.30h HuntingLogEntry = 0x266, // updated 6.31
EventPlay = 0x2de, // updated 6.30h EventPlay = 0x1f5, // updated 6.31
EventPlay4 = 0x317, // updated 6.30h EventPlay4 = 0x357, // updated 6.31
EventPlay8 = 0x1cd, // updated 6.30h EventPlay8 = 0x269, // updated 6.31
EventPlay16 = 0x1fe, // updated 6.30h EventPlay16 = 0x278, // updated 6.31
EventPlay32 = 0x2fc, // updated 6.30h EventPlay32 = 0x36b, // updated 6.31
EventPlay64 = 0x7c, // updated 6.30h EventPlay64 = 0x288, // updated 6.31
EventPlay128 = 0x337, // updated 6.30h EventPlay128 = 0x73, // updated 6.31
EventPlay255 = 0x1d2, // updated 6.30h EventPlay255 = 0x23a, // updated 6.31
EventStart = 0x1c5, // updated 6.31
EventFinish = 0xb6, // updated 6.31
EventContinue = 0x240, // updated 6.30h or 0x3a2 or 0x3c3 or 0x270 or 0x391 or 0x159 or 0x2da or 0x3bb EventContinue = 0x89, // updated 6.31 or 0x2ac or 0x290 or 0x331 or 0x1db or 0x37a or 0x11b or 0x31f
EventStart = 0x1a1, // updated 6.30h
EventFinish = 0x194, // updated 6.30h
EventLinkshell = 0x1169, EventLinkshell = 0x1169,
QuestActiveList = 0x140, // updated 6.30h QuestActiveList = 0xf3, // updated 6.31
QuestUpdate = 0x382, // updated 6.30h QuestUpdate = 0xa3, // updated 6.31
QuestCompleteList = 0x39a, // updated 6.30h QuestCompleteList = 0x31b, // updated 6.31
QuestFinish = 0x237, // updated 6.30h QuestFinish = 0x93, // updated 6.31
MSQTrackerComplete = 0xf0, // updated 6.30h MSQTrackerComplete = 0x9a, // updated 6.31
MSQTrackerProgress = 0xF1CD, // updated 4.5 ? this actually looks like the two opcodes have been combined, see #474 MSQTrackerProgress = 0xF1CD, // updated 4.5 ? this actually looks like the two opcodes have been combined, see #474
QuestMessage = 0x0220, // updated 5.58 hotfix QuestMessage = 0x0220, // updated 5.58 hotfix
QuestTracker = 0x2d5, // updated 6.30h QuestTracker = 0x379, // updated 6.31
Mount = 0x322, // updated 6.30h Mount = 0x16b, // updated 6.31
DirectorVars = 0x27b, // updated 6.30h DirectorVars = 0x126, // updated 6.31
SomeDirectorUnk1 = 0x0084, // updated 5.18 SomeDirectorUnk1 = 0x0084, // updated 5.18
SomeDirectorUnk2 = 0xF0C1, // updated 5.18 SomeDirectorUnk2 = 0xF0C1, // updated 5.18
SomeDirectorUnk4 = 0x03DD, // updated 5.58 hotfix SomeDirectorUnk4 = 0x03DD, // updated 5.58 hotfix
SomeDirectorUnk8 = 0x028A, // updated 5.18 SomeDirectorUnk8 = 0x028A, // updated 5.18
SomeDirectorUnk16 = 0x028C, // updated 5.18 SomeDirectorUnk16 = 0x028C, // updated 5.18
DirectorPopUp = 0x03DF, // updated 5.58 hotfix DirectorPopUp = 0x03DF, // updated 5.58 hotfix
DirectorPopUp4 = 0x019B, // updated 5.58 hotfix DirectorPopUp4 = 0x019B, // updated 5.58 hotfix
DirectorPopUp8 = 0x0271, // updated 5.58 hotfix DirectorPopUp8 = 0x0271, // updated 5.58 hotfix
CFAvailableContents = 0xF1FD, // updated 4.2 CFAvailableContents = 0xF1FD, // updated 4.2
WeatherChange = 0xc7, // updated 6.30h WeatherChange = 0x163, // updated 6.31
PlayerTitleList = 0x1ab, // updated 6.30h PlayerTitleList = 0xe9, // updated 6.31
Discovery = 0x3ca, // updated 6.30h Discovery = 0x3d8, // updated 6.31
EorzeaTimeOffset = 0x96, // updated 6.30h EorzeaTimeOffset = 0x2a8, // updated 6.31
EquipDisplayFlags = 0x303, // updated 6.30h EquipDisplayFlags = 0x1bf, // updated 6.31
MiniCactpotInit = 0x0286, // added 5.31 MiniCactpotInit = 0x0286, // added 5.31
ShopMessage = 0x0287, // updated 5.58 hotfix ShopMessage = 0x0287, // updated 5.58 hotfix
LootMessage = 0x2c0, // updated 6.30h LootMessage = 0x1ac, // updated 6.31
ResultDialog = 0x3bb, // updated 6.30h ResultDialog = 0x2ac, // updated 6.31
DesynthResult = 0x270, // updated 6.30h DesynthResult = 0x89, // updated 6.31
/// Housing ////////////////////////////////////// /// Housing //////////////////////////////////////
LandSetInitialize = 0x1fc, // updated 6.30h LandSetInitialize = 0x336, // updated 6.31
LandUpdate = 0x30d, // updated 6.30h LandUpdate = 0x29b, // updated 6.31
YardObjectSpawn = 0x30b, // updated 6.30h YardObjectSpawn = 0x2fa, // updated 6.31
HousingIndoorInitialize = 0xa3, // updated 6.30h HousingIndoorInitialize = 0x195, // updated 6.31
LandPriceUpdate = 0x3d2, // updated 6.30h LandPriceUpdate = 0x2ce, // updated 6.31
LandInfoSign = 0xf9, // updated 6.30h LandInfoSign = 0x122, // updated 6.31
LandRename = 0x16d, // updated 6.30h LandRename = 0x36e, // updated 6.31
HousingEstateGreeting = 0x193, // updated 6.30h HousingEstateGreeting = 0x29e, // updated 6.31
HousingUpdateLandFlagsSlot = 0x1ff, // updated 6.30h HousingUpdateLandFlagsSlot = 0x16e, // updated 6.31
HousingLandFlags = 0x1f7, // updated 6.30h HousingLandFlags = 0x232, // updated 6.31
HousingShowEstateGuestAccess = 0x71, // updated 6.30h HousingShowEstateGuestAccess = 0xaf, // updated 6.31
HousingObjectInitialize = 0x11d, // updated 6.30h HousingObjectInitialize = 0x33b, // updated 6.31
HousingInternalObjectSpawn = 0x378, // updated 6.30h HousingInternalObjectSpawn = 0xb9, // updated 6.31
HousingWardInfo = 0xe4, // updated 6.30h HousingWardInfo = 0xdd, // updated 6.31
HousingObjectMove = 0x2b9, // updated 6.30h HousingObjectMove = 0x3c4, // updated 6.31
HousingObjectDye = 0x2d8, // updated 6.31
SharedEstateSettingsResponse = 0x144, // updated 6.30h SharedEstateSettingsResponse = 0x8f, // updated 6.31
LandUpdateHouseName = 0x22b, // updated 6.30h LandUpdateHouseName = 0x214, // updated 6.31
LandSetMap = 0x2af, // updated 6.31
LandSetMap = 0xbc, // updated 6.30h CeremonySetActorAppearance = 0x2f0, // updated 6.31
CeremonySetActorAppearance = 0xba, // updated 6.30h
////////////////////////////////////////////////// //////////////////////////////////////////////////
DuelChallenge = 0x0277, // 4.2; this is responsible for opening the ui DuelChallenge = 0x0277, // 4.2; this is responsible for opening the ui
PerformNote = 0xe9, // updated 6.30h PerformNote = 0x2ab, // updated 6.31
PrepareZoning = 0x195, // updated 6.30h
ActorGauge = 0x171, // updated 6.30h
DutyGauge = 0x02E5, // updated 5.58 hotfix DutyGauge = 0x02E5, // updated 5.58 hotfix
// daily quest info -> without them sent, login will take longer... // daily quest info -> without them sent, login will take longer...
DailyQuests = 0x17e, // updated 6.30h DailyQuests = 0x343, // updated 6.31
DailyQuestRepeatFlags = 0x3cc, // updated 6.30h DailyQuestRepeatFlags = 0x97, // updated 6.31
MapUpdate = 0x1b7, // updated 6.30h MapUpdate = 0x191, // updated 6.31
MapUpdate4 = 0x1c4, // updated 6.30h MapUpdate4 = 0x1a1, // updated 6.31
MapUpdate8 = 0x35e, // updated 6.30h MapUpdate8 = 0x77, // updated 6.31
MapUpdate16 = 0x293, // updated 6.30h MapUpdate16 = 0x2d0, // updated 6.31
MapUpdate32 = 0x67, // updated 6.30h MapUpdate32 = 0x82, // updated 6.31
MapUpdate64 = 0x1ad, // updated 6.30h MapUpdate64 = 0x372, // updated 6.31
MapUpdate128 = 0x323, // updated 6.30h MapUpdate128 = 0xc2, // updated 6.31
/// Doman Mahjong ////////////////////////////////////// /// Doman Mahjong //////////////////////////////////////
MahjongOpenGui = 0x02A4, // only available in mahjong instance MahjongOpenGui = 0x02A4, // only available in mahjong instance
MahjongNextRound = 0x02BD, // initial hands(baipai), # of riichi(wat), winds, honba, score and stuff MahjongNextRound = 0x02BD, // initial hands(baipai), # of riichi(wat), winds, honba, score and stuff
MahjongPlayerAction = 0x02BE, // tsumo(as in drawing a tile) called chi/pon/kan/riichi MahjongPlayerAction = 0x02BE, // tsumo(as in drawing a tile) called chi/pon/kan/riichi
MahjongEndRoundTsumo = 0x02BF, // called tsumo MahjongEndRoundTsumo = 0x02BF, // called tsumo
MahjongEndRoundRon = 0x2C0, // called ron or double ron (waiting for action must be flagged from discard packet to call) MahjongEndRoundRon = 0x2C0, // called ron or double ron (waiting for action must be flagged from discard packet to call)
MahjongTileDiscard = 0x02C1, // giri (discarding a tile.) chi(1)/pon(2)/kan(4)/ron(8) flags etc.. MahjongTileDiscard = 0x02C1, // giri (discarding a tile.) chi(1)/pon(2)/kan(4)/ron(8) flags etc..
MahjongPlayersInfo = 0xF2C2, // actor id, name, rating and stuff.. MahjongPlayersInfo = 0xF2C2, // actor id, name, rating and stuff..
// 2C3 and 2C4 are currently unknown // 2C3 and 2C4 are currently unknown
MahjongEndRoundDraw = 0x02C5, // self explanatory MahjongEndRoundDraw = 0x02C5, // self explanatory
MahjongEndGame = 0x02C6, // finished oorasu(all-last) round; shows a result screen. MahjongEndGame = 0x02C6, // finished oorasu(all-last) round; shows a result screen.
/// Airship & Submarine ////////////////////////////////////// /// Airship & Submarine //////////////////////////////////////
AirshipExplorationResult = 0x34f, // updated 6.30h AirshipTimers = 0xad, // updated 6.31
AirshipStatus = 0x142, // updated 6.30h AirshipStatus = 0x28b, // updated 6.31
AirshipStatusList = 0x70, // updated 6.30h AirshipStatusList = 0x234, // updated 6.31
AirshipTimers = 0x26b, // updated 6.30h AirshipExplorationResult = 0x1e4, // updated 6.31
SubmarineExplorationResult = 0x1a8, // updated 6.30h
SubmarineProgressionStatus = 0x148, // updated 6.30h SubmarineTimers = 0x9d, // updated 6.31
SubmarineStatusList = 0x232, // updated 6.30h SubmarineProgressionStatus = 0x30c, // updated 6.31
SubmarineTimers = 0x103, // updated 6.30h SubmarineStatusList = 0x283, // updated 6.31
SubmarineExplorationResult = 0x154, // updated 6.31
EnvironmentControl = 0x2d9, // updated 6.31
IslandWorkshopSupplyDemand = 0x80, // updated 6.31
}; };
/** /**
* Client IPC Zone Type Codes. * Client IPC Zone Type Codes.
*/ */
enum ClientZoneIpcType : uint16_t enum ClientZoneIpcType : uint16_t
{ {
PingHandler = 0x011B, // updated 6.30h PingHandler = 0x011B, // updated 6.30h
@ -327,39 +339,39 @@ namespace Sapphire::Network::Packets
CFCommenceHandler = 0x0381, // updated 5.58 hotfix CFCommenceHandler = 0x0381, // updated 5.58 hotfix
CFCancelHandler = 0x02B2, // updated 5.58 hotfix CFCancelHandler = 0x02B2, // updated 5.58 hotfix
CFRegisterDuty = 0x01BD, // updated 5.58 hotfix CFRegisterDuty = 0x01BD, // updated 5.58 hotfix
CFRegisterRoulette = 0x037A, // updated 5.58 hotfix CFRegisterRoulette = 0x037A, // updated 5.58 hotfix
PlayTimeHandler = 0x02B7, // updated 5.58 hotfix PlayTimeHandler = 0x02B7, // updated 5.58 hotfix
LogoutHandler = 0x01C7, // updated 6.30h LogoutHandler = 0x01C7, // updated 6.30h
CancelLogout = 0x0102, // updated 6.30h CancelLogout = 0x0102, // updated 6.30h
CFDutyInfoHandler = 0xF078, // updated 4.2 CFDutyInfoHandler = 0xF078, // updated 4.2
SocialReqSendHandler = 0x00D7, // updated 5.58 hotfix SocialReqSendHandler = 0x00D7, // updated 5.58 hotfix
SocialResponseHandler = 0x023B, // updated 5.58 hotfix SocialResponseHandler = 0x023B, // updated 5.58 hotfix
CreateCrossWorldLS = 0x035D, // updated 5.58 hotfix CreateCrossWorldLS = 0x035D, // updated 5.58 hotfix
ChatHandler = 0x02C6, // Updated 6.30h ChatHandler = 0x02C6, // Updated 6.30h
PartyChatHandler = 0x0065, PartyChatHandler = 0x0065,
PartySetLeaderHandler = 0x036C, // updated 5.58 hotfix PartySetLeaderHandler = 0x036C, // updated 5.58 hotfix
LeavePartyHandler = 0x019D, // updated 5.58 hotfix LeavePartyHandler = 0x019D, // updated 5.58 hotfix
KickPartyMemberHandler = 0x0262, // updated 5.58 hotfix KickPartyMemberHandler = 0x0262, // updated 5.58 hotfix
DisbandPartyHandler = 0x0276, // updated 5.58 hotfix DisbandPartyHandler = 0x0276, // updated 5.58 hotfix
SocialListHandler = 0x0145, // updated 6.30h SocialListHandler = 0x0145, // updated 6.30h
SetSearchInfoHandler = 0x01D4, // updated 5.58 hotfix SetSearchInfoHandler = 0x01D4, // updated 5.58 hotfix
ReqSearchInfoHandler = 0x014F, // updated 5.58 hotfix ReqSearchInfoHandler = 0x014F, // updated 5.58 hotfix
ReqExamineSearchCommentHandler = 0x00E7, // updated 5.0 ReqExamineSearchCommentHandler = 0x00E7, // updated 5.0
ReqRemovePlayerFromBlacklist = 0x00B4, // updated 5.58 hotfix ReqRemovePlayerFromBlacklist = 0x00B4, // updated 5.58 hotfix
BlackListHandler = 0x0235, // updated 6.30h BlackListHandler = 0x0235, // updated 6.30h
PlayerSearchHandler = 0x037D, // updated 5.58 hotfix PlayerSearchHandler = 0x037D, // updated 5.58 hotfix
LinkshellListHandler = 0x03B6, // updated 5.58 hotfix LinkshellListHandler = 0x03B6, // updated 5.58 hotfix
MarketBoardRequestItemListingInfo = 0x00F4, // updated 5.58 hotfix MarketBoardRequestItemListingInfo = 0x00F4, // updated 5.58 hotfix
MarketBoardRequestItemListings = 0x0122, // updated 5.58 hotfix MarketBoardRequestItemListings = 0x0122, // updated 5.58 hotfix
MarketBoardSearch = 0x0082, // updated 5.58 hotfix MarketBoardSearch = 0x0082, // updated 5.58 hotfix
ReqExamineFcInfo = 0x037B, // updated 5.58 hotfix ReqExamineFcInfo = 0x037B, // updated 5.58 hotfix
@ -372,18 +384,18 @@ namespace Sapphire::Network::Packets
ReqJoinNoviceNetwork = 0x0129, // updated 4.2 ReqJoinNoviceNetwork = 0x0129, // updated 4.2
ReqCountdownInitiate = 0x02EC, // updated 5.58 hotfix ReqCountdownInitiate = 0x02EC, // updated 5.58 hotfix
ReqCountdownCancel = 0x0068, // updated 5.58 hotfix ReqCountdownCancel = 0x0068, // updated 5.58 hotfix
ZoneLineHandler = 0x01EC, // updated 6.30h ZoneLineHandler = 0x01EC, // updated 6.30h
ClientTrigger = 0x0174, // updated 6.30h ClientTrigger = 0x0174, // updated 6.30h
DiscoveryHandler = 0x038B, // updated 5.58 hotfix DiscoveryHandler = 0x038B, // updated 5.58 hotfix
PlaceFieldMarkerPreset = 0x204, // updated 6.30h PlaceFieldMarkerPreset = 0x204, // updated 6.30h
PlaceFieldMarker = 0x38e, // updated 6.30h PlaceFieldMarker = 0x38e, // updated 6.30h
SkillHandler = 0x0249, // updated 6.30h SkillHandler = 0x0249, // updated 6.30h
GMCommand1 = 0x0182, // updated 6.30h GMCommand1 = 0x0182, // updated 6.30h
GMCommand2 = 0x02AD, // updated 6.30h GMCommand2 = 0x02AD, // updated 6.30h
AoESkillHandler = 0x0152, // updated 5.58 hotfix AoESkillHandler = 0x0152, // updated 5.58 hotfix
UpdatePositionHandler = 0x10F, // Updated 6.30h UpdatePositionHandler = 0x10F, // Updated 6.30h
@ -392,30 +404,30 @@ namespace Sapphire::Network::Packets
InventoryEquipRecommendedItems = 0x01C9, // updated 5.58 hotfix InventoryEquipRecommendedItems = 0x01C9, // updated 5.58 hotfix
ReqPlaceHousingItem = 0x02D4, // updated 5.58 hotfix ReqPlaceHousingItem = 0x02D4, // updated 5.58 hotfix
BuildPresetHandler = 0x0223, // updated 5.58 hotfix BuildPresetHandler = 0x0223, // updated 5.58 hotfix
TalkEventHandler = 0x0384, // updated 6.30h TalkEventHandler = 0x0384, // updated 6.30h
EmoteEventHandler = 0x00B0, // updated 5.58 hotfix EmoteEventHandler = 0x00B0, // updated 5.58 hotfix
WithinRangeEventHandler = 0x02B6, // updated 5.58 hotfix WithinRangeEventHandler = 0x02B6, // updated 5.58 hotfix
OutOfRangeEventHandler = 0x03C5, // updated 5.58 hotfix OutOfRangeEventHandler = 0x03C5, // updated 5.58 hotfix
EnterTeriEventHandler = 0x0332, // updated 6.30h EnterTeriEventHandler = 0x0332, // updated 6.30h
ShopEventHandler = 0x0384, // updated 5.58 hotfix ShopEventHandler = 0x0384, // updated 5.58 hotfix
ReturnEventHandler = 0x0383, // updated 6.30h ReturnEventHandler = 0x0383, // updated 6.30h
TradeReturnEventHandler = 0x0398, // updated 6.30h TradeReturnEventHandler = 0x0398, // updated 6.30h
TradeReturnEventHandler2 = 0x023C, // updated 5.58 hotfix TradeReturnEventHandler2 = 0x023C, // updated 5.58 hotfix
EventYield2Handler = 0x021D, // updated 5.58 hotfix EventYield2Handler = 0x021D, // updated 5.58 hotfix
EventYield16Handler = 0x0207, // updated 5.58 hotfix EventYield16Handler = 0x0207, // updated 5.58 hotfix
LinkshellEventHandler = 0x016B, // updated 4.5 LinkshellEventHandler = 0x016B, // updated 4.5
LinkshellEventHandler1 = 0x016C, // updated 4.5 LinkshellEventHandler1 = 0x016C, // updated 4.5
ReqEquipDisplayFlagsChange = 0x03BC, // updated 6.30h ReqEquipDisplayFlagsChange = 0x03BC, // updated 6.30h
LandRenameHandler = 0x028E, // updated 5.58 hotfix LandRenameHandler = 0x028E, // updated 5.58 hotfix
HousingUpdateHouseGreeting = 0x0343, // updated 5.58 hotfix HousingUpdateHouseGreeting = 0x0343, // updated 5.58 hotfix
HousingUpdateObjectPosition = 0x012C, // updated 5.58 hotfix HousingUpdateObjectPosition = 0x012C, // updated 5.58 hotfix
HousingEditExterior = 0x027B, // updated 5.58 hotfix HousingEditExterior = 0x027B, // updated 5.58 hotfix
HousingEditInterior = 0x02E3, // updated 5.58 hotfix HousingEditInterior = 0x02E3, // updated 5.58 hotfix
SetSharedEstateSettings = 0x00D2, // updated 5.58 hotfix SetSharedEstateSettings = 0x00D2, // updated 5.58 hotfix
@ -424,17 +436,17 @@ namespace Sapphire::Network::Packets
PerformNoteHandler = 0x0243, // updated 5.58 hotfix PerformNoteHandler = 0x0243, // updated 5.58 hotfix
WorldInteractionHandler = 0x0274, // updated 5.58 hotfix WorldInteractionHandler = 0x0274, // updated 5.58 hotfix
Dive = 0x018C, // updated 6.30h Dive = 0x018C, // updated 6.30h
}; };
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// Chat Connection IPC Codes /// Chat Connection IPC Codes
/** /**
* Server IPC Chat Type Codes. * Server IPC Chat Type Codes.
*/ */
enum ServerChatIpcType : uint16_t enum ServerChatIpcType : uint16_t
{ {
Tell = 0x0064, // updated for sb Tell = 0x0064, // updated for sb
PublicContentTell = 0x00FB, // added 4.5, this is used when receiving a /tell in PublicContent instances such as Eureka or Bozja PublicContentTell = 0x00FB, // added 4.5, this is used when receiving a /tell in PublicContent instances such as Eureka or Bozja
TellErrNotFound = 0x0066, TellErrNotFound = 0x0066,
@ -442,15 +454,14 @@ namespace Sapphire::Network::Packets
}; };
/** /**
* Client IPC Chat Type Codes. * Client IPC Chat Type Codes.
*/ */
enum ClientChatIpcType : uint16_t enum ClientChatIpcType : uint16_t
{ {
TellReq = 0x0064, TellReq = 0x0064,
PublicContentTellReq = 0x0326, // updated 5.35 hotfix, this is used when sending a /tell in PublicContent instances such as Eureka or Bozja PublicContentTellReq = 0x0326, // updated 5.35 hotfix, this is used when sending a /tell in PublicContent instances such as Eureka or Bozja
}; };
} }
#endif /*_CORE_NETWORK_PACKETS_IPCS_H*/ #endif /*_CORE_NETWORK_PACKETS_IPCS_H*/