mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-09 20:43:52 +00:00
Added rof2 style discipline opcodes. Might need work but looking at assembly looks like it might work too.
This commit is contained in:
parent
4d05e4b53e
commit
33164dc47a
@ -557,6 +557,16 @@ namespace Laurion
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_DisciplineUpdate)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(Disciplines_Struct);
|
||||
SETUP_DIRECT_ENCODE(Disciplines_Struct, structs::Disciplines_Struct);
|
||||
|
||||
memcpy(&eq->values, &emu->values, sizeof(Disciplines_Struct));
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_ExpansionInfo)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(ExpansionInfo_Struct);
|
||||
|
||||
@ -19,6 +19,7 @@ E(OP_Death)
|
||||
E(OP_DeleteCharge)
|
||||
E(OP_DeleteItem)
|
||||
E(OP_DeleteSpawn)
|
||||
E(OP_DisciplineUpdate)
|
||||
E(OP_ExpansionInfo)
|
||||
E(OP_ExpUpdate)
|
||||
E(OP_FormattedMessage)
|
||||
|
||||
@ -948,6 +948,10 @@ namespace Laurion {
|
||||
/*12*/ InventorySlot_Struct guildtribute_slot; // Slot type is 8? (MapGuildTribute = 8)
|
||||
/*24*/
|
||||
};
|
||||
|
||||
struct Disciplines_Struct {
|
||||
uint32 values[MAX_PP_DISCIPLINES];
|
||||
};
|
||||
#pragma pack()
|
||||
|
||||
}; //end namespace structs
|
||||
|
||||
@ -339,8 +339,8 @@ OP_ItemViewUnknown=0x0000
|
||||
OP_VetRewardsAvaliable=0x0000
|
||||
OP_VetClaimRequest=0x0000
|
||||
OP_VetClaimReply=0x0000
|
||||
OP_DisciplineUpdate=0x0000
|
||||
OP_DisciplineTimer=0x0000
|
||||
OP_DisciplineUpdate=0x6ce4
|
||||
OP_DisciplineTimer=0x7436
|
||||
OP_BecomeCorpse=0x0000 # Unused?
|
||||
OP_Action2=0x0000 # Unused?
|
||||
OP_MobUpdate=0x0000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user