1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-26 03:27:44 +00:00

Clean up.

This commit is contained in:
collett 2020-01-03 22:36:49 +09:00
parent 8313abf30a
commit 8790e71ff1
2 changed files with 6 additions and 6 deletions

View file

@ -264,6 +264,8 @@ namespace Sapphire::Network::ActorControl
ToggleOrchestrionUnlock = 0x396,
EventBattleDialog = 0x39C,
/*!
* param1 = mountSpeed
* Retail sends 12 for mount speed star 1 unlocked and 15 for mount speed star 2 unlocked
@ -338,8 +340,6 @@ namespace Sapphire::Network::ActorControl
SetDutyActionRemaining = 0x5EB,
EurekaStep = 0x73A, // alters the progress of the player on Eureka (is used for all the eureka zones)
Unk039C = 0x039C, // Event battle level sync dialog?
};
enum ClientTriggerType
@ -393,6 +393,8 @@ namespace Sapphire::Network::ActorControl
AchievementComp = 0x203,
AchievementCatChat = 0x206,
RequestEventBattle = 0x232C,
QuestJournalUpdateQuestVisibility = 0x2BE,
QuestJournalClosed = 0x2BF,
@ -444,8 +446,6 @@ namespace Sapphire::Network::ActorControl
OpenDuelUI = 0x898, // Open a duel ui
DuelRequestResult = 0x899, // either accept/reject
Unk232C = 0x232C, // Event battle level sync dialog?
};
}

View file

@ -494,9 +494,9 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( FrameworkPtr pFw,
canTeleport, unk1, privateEstateAccess, unk );
break;
}
case ClientTriggerType::Unk232C:
case ClientTriggerType::RequestEventBattle:
{
auto packet = makeActorControlSelf(player.getId(), ActorControl::Unk039C, 0, param12, param2);
auto packet = makeActorControlSelf(player.getId(), ActorControl::EventBattleDialog, 0, param12, param2);
player.queuePacket(packet);
player.sendDebug("Unk232C: level sync: {0}, ilevel sync?: {1}",