mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +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:
|
case eGameMessageType::REQUEST_VENDOR_STATUS_UPDATE:
|
||||||
GameMessages::SendVendorStatusUpdate(entity, sysAddr, true);
|
GameMessages::SendVendorStatusUpdate(entity, sysAddr, true);
|
||||||
break;
|
break;
|
||||||
|
case eGameMessageType::SELECT_SKILL:
|
||||||
|
GameMessages::HandleSelectSkill(inStream, entity, sysAddr);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
LOG_DEBUG("Received Unknown GM with ID: %4i, %s", messageID, StringifiedEnum::ToString(messageID).data());
|
LOG_DEBUG("Received Unknown GM with ID: %4i, %s", messageID, StringifiedEnum::ToString(messageID).data());
|
||||||
break;
|
break;
|
||||||
|
@ -1215,6 +1215,15 @@ void GameMessages::SendRemoveSkill(Entity* entity, TSkillID skillID) {
|
|||||||
SEND_PACKET;
|
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) {
|
void GameMessages::SendFinishArrangingWithItem(Entity* entity, const LWOOBJID& buildArea) {
|
||||||
CBITSTREAM;
|
CBITSTREAM;
|
||||||
CMSGHEADER;
|
CMSGHEADER;
|
||||||
|
@ -125,6 +125,7 @@ namespace GameMessages {
|
|||||||
|
|
||||||
void SendAddSkill(Entity* entity, TSkillID skillID, BehaviorSlot slotID);
|
void SendAddSkill(Entity* entity, TSkillID skillID, BehaviorSlot slotID);
|
||||||
void SendRemoveSkill(Entity* entity, TSkillID skillID);
|
void SendRemoveSkill(Entity* entity, TSkillID skillID);
|
||||||
|
void HandleSelectSkill(RakNet::BitStream* inStream, Entity* entity, const SystemAddress& sysAddr);
|
||||||
|
|
||||||
void SendFinishArrangingWithItem(Entity* entity, const LWOOBJID& buildAreaID);
|
void SendFinishArrangingWithItem(Entity* entity, const LWOOBJID& buildAreaID);
|
||||||
void SendModularBuildEnd(Entity* entity);
|
void SendModularBuildEnd(Entity* entity);
|
||||||
|
Loading…
Reference in New Issue
Block a user