1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00

Merge pull request #395 from KBiscuit/updates/packetDefs

SharedEstateSettings Ops Added / Level Up Fixed
This commit is contained in:
Mordred 2018-10-11 08:23:53 +02:00 committed by GitHub
commit 60c367d10f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 2 deletions

View file

@ -287,6 +287,8 @@ enum ClientTriggerType
AchievementCritReq = 0x3E8,
AchievementList = 0x3E9,
RequestSharedEstateSettings = 0x46F,
CompanionAction = 0x6A4,
CompanionSetBarding = 0x6A5,
CompanionActionUnlock = 0x6A6,

View file

@ -132,7 +132,7 @@ enum ServerZoneIpcType :
ObjectSpawn = 0x0179, // updated 4.4
ObjectDespawn = 0x017A, // updated 4.4
SetLevelSync = 0x017B, // updated 4.4
UpdateClassInfo = 0x017B, // updated 4.4
SilentSetClassJob = 0x017C, // updated 4.4 - seems to be the case, not sure if it's actually used for anything
InitUI = 0x017D, // updated 4.4
@ -143,7 +143,7 @@ enum ServerZoneIpcType :
ModelEquip = 0x0182, // updated 4.4
Examine = 0x0183, // updated 4.4
CharaNameReq = 0x0185, // updated 4.4
UpdateClassInfo = 0x0186, // updated 4.4
SetLevelSync = 0x0186, // not updated for 4.4, not sure what it is anymore
ItemInfo = 0x018C, // updated 4.4
ContainerInfo = 0x018D, // updated 4.4
@ -192,6 +192,8 @@ enum ServerZoneIpcType :
WardHousingPermission = 0x0229, // updated 4.4
WardYardInfo = 0x022C, // updated 4.4
SharedEstateSettingsResponse = 0x023C, // updated 4.4
DuelChallenge = 0x0277, // 4.2; this is responsible for opening the ui
PerformNote = 0x0286, // updated 4.3
@ -285,6 +287,8 @@ enum ClientZoneIpcType :
LinkshellEventHandler = 0x0150, // updated 4.1 ??
LinkshellEventHandler1 = 0x0151, // updated 4.1 ??
SetSharedEstateSettings = 0x0177, // updated 4.4
PerformNoteHandler = 0x029B, // updated 4.3
ReqEquipDisplayFlagsChange = 0x016F, // updated 4.4

View file

@ -183,6 +183,20 @@ struct FFXIVIpcInventoryModifyHandler :
/* 0028 */ uint32_t splitCount;
};
struct FFXIVIpcSetSharedEstateSettings :
FFXIVIpcBasePacket< SetSharedEstateSettings >
{
/* 0000 */ uint64_t char1ContentId;
/* 0008 */ uint64_t char2ContentId;
/* 0010 */ uint64_t char3ContentId;
/* 0018 */ uint8_t char1Permissions;
/* 0019 */ char padding1[0x7];
/* 0020 */ uint8_t char2Permissions;
/* 0021 */ char padding2[0x7];
/* 0028 */ uint8_t char3Permissions;
/* 0029 */ char padding3[0x7];
};
}
}
}

View file

@ -1630,6 +1630,22 @@ struct FFXIVIpcWardYardInfo :
} object[100];
};
/**
* Structural representation of the packet sent by the server
* to show the current shared estate settings
*/
struct FFXIVIpcSharedEstateSettingsResponse :
FFXIVIpcBasePacket< SharedEstateSettingsResponse >
{
struct playerEntry
{
uint64_t contentId;
uint8_t permissions;
char name[0x20];
char padding[0x7];
} entry[3];
};
struct FFXIVIpcMSQTrackerProgress :
FFXIVIpcBasePacket< MSQTrackerProgress >
{