mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
log it?
This commit is contained in:
parent
46ac039a3b
commit
0d08d6e471
@ -693,6 +693,9 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream* inStream, const System
|
||||
case eGameMessageType::REQUEST_VENDOR_STATUS_UPDATE:
|
||||
GameMessages::SendVendorStatusUpdate(entity, sysAddr, true);
|
||||
break;
|
||||
case eGameMessageType::SELECT_SKILL:
|
||||
GameMessages::HandleSelectSkill(inStream, entity, sysAddr);
|
||||
break;
|
||||
default:
|
||||
LOG_DEBUG("Received Unknown GM with ID: %4i, %s", messageID, StringifiedEnum::ToString(messageID).data());
|
||||
break;
|
||||
|
@ -1215,6 +1215,15 @@ void GameMessages::SendRemoveSkill(Entity* entity, TSkillID skillID) {
|
||||
SEND_PACKET;
|
||||
}
|
||||
|
||||
void GameMessages::HandleSelectSkill(RakNet::BitStream* inStream, Entity* entity, const SystemAddress& sysAddr){
|
||||
bool bFromSkillSet = false;
|
||||
TSkillID skillID = 0;
|
||||
inStream->Read(bFromSkillSet);
|
||||
inStream->Read(skillID);
|
||||
LOG("skill set: %i, skillID: %i", bFromSkillSet, skillID);
|
||||
}
|
||||
|
||||
|
||||
void GameMessages::SendFinishArrangingWithItem(Entity* entity, const LWOOBJID& buildArea) {
|
||||
CBITSTREAM;
|
||||
CMSGHEADER;
|
||||
|
@ -125,6 +125,7 @@ namespace GameMessages {
|
||||
|
||||
void SendAddSkill(Entity* entity, TSkillID skillID, BehaviorSlot slotID);
|
||||
void SendRemoveSkill(Entity* entity, TSkillID skillID);
|
||||
void HandleSelectSkill(RakNet::BitStream* inStream, Entity* entity, const SystemAddress& sysAddr);
|
||||
|
||||
void SendFinishArrangingWithItem(Entity* entity, const LWOOBJID& buildAreaID);
|
||||
void SendModularBuildEnd(Entity* entity);
|
||||
|
Loading…
Reference in New Issue
Block a user