You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
4.8 KiB
C++
98 lines
4.8 KiB
C++
#include "../Packets/Player/PacketDisconnect.hpp"
|
|
#include "../Packets/Player/PacketChatMessage.hpp"
|
|
#include "../Packets/Player/PacketPlayerCharGen.hpp"
|
|
#include "../Packets/Player/PacketHandshake.hpp"
|
|
#include "../Packets/Player/PacketGUIBoxes.hpp"
|
|
#include "../Packets/Player/PacketGUIWindow.hpp"
|
|
#include "../Packets/Player/PacketLoaded.hpp"
|
|
#include "../Packets/Player/PacketCellCreate.hpp"
|
|
#include "../Packets/Player/PacketGameSettings.hpp"
|
|
#include "../Packets/Player/PacketGameWeather.hpp"
|
|
#include "../Packets/Player/PacketPlayerActiveSkills.hpp"
|
|
#include "../Packets/Player/PacketPlayerAnimFlags.hpp"
|
|
#include "../Packets/Player/PacketPlayerAnimPlay.hpp"
|
|
#include "../Packets/Player/PacketPlayerAttack.hpp"
|
|
#include "../Packets/Player/PacketPlayerAttribute.hpp"
|
|
#include "../Packets/Player/PacketPlayerBaseInfo.hpp"
|
|
#include "../Packets/Player/PacketPlayerBehavior.hpp"
|
|
#include "../Packets/Player/PacketPlayerBook.hpp"
|
|
#include "../Packets/Player/PacketPlayerBounty.hpp"
|
|
#include "../Packets/Player/PacketPlayerCellChange.hpp"
|
|
#include "../Packets/Player/PacketPlayerCellState.hpp"
|
|
#include "../Packets/Player/PacketPlayerClass.hpp"
|
|
#include "../Packets/Player/PacketPlayerDeath.hpp"
|
|
#include "../Packets/Player/PacketPlayerEquipment.hpp"
|
|
#include "../Packets/Player/PacketPlayerFaction.hpp"
|
|
#include "../Packets/Player/PacketPlayerInteraction.hpp"
|
|
#include "../Packets/Player/PacketPlayerInventory.hpp"
|
|
#include "../Packets/Player/PacketPlayerJail.hpp"
|
|
#include "../Packets/Player/PacketPlayerJournal.hpp"
|
|
#include "../Packets/Player/PacketPlayerKillCount.hpp"
|
|
#include "../Packets/Player/PacketPlayerLevel.hpp"
|
|
#include "../Packets/Player/PacketPlayerMiscellaneous.hpp"
|
|
#include "../Packets/Player/PacketPlayerMomentum.hpp"
|
|
#include "../Packets/Player/PacketPlayerPosition.hpp"
|
|
#include "../Packets/Player/PacketPlayerQuickKeys.hpp"
|
|
#include "../Packets/Player/PacketPlayerRegionAuthority.hpp"
|
|
#include "../Packets/Player/PacketPlayerReputation.hpp"
|
|
#include "../Packets/Player/PacketPlayerRest.hpp"
|
|
#include "../Packets/Player/PacketPlayerResurrect.hpp"
|
|
#include "../Packets/Player/PacketPlayerShapeshift.hpp"
|
|
#include "../Packets/Player/PacketPlayerSkill.hpp"
|
|
#include "../Packets/Player/PacketPlayerSpeech.hpp"
|
|
#include "../Packets/Player/PacketPlayerSpellbook.hpp"
|
|
#include "../Packets/Player/PacketPlayerStatsDynamic.hpp"
|
|
#include "../Packets/Player/PacketPlayerTopic.hpp"
|
|
|
|
#include "PlayerPacketController.hpp"
|
|
|
|
mwmp::PlayerPacketController::PlayerPacketController(RakNet::RakPeerInterface *peer)
|
|
{
|
|
AddPacket<PacketDisconnect>(&packets, peer);
|
|
AddPacket<PacketChatMessage>(&packets, peer);
|
|
AddPacket<PacketHandshake>(&packets, peer);
|
|
AddPacket<PacketGUIBoxes>(&packets, peer);
|
|
AddPacket<PacketGUIWindow>(&packets, peer);
|
|
AddPacket<PacketLoaded>(&packets, peer);
|
|
AddPacket<PacketCellCreate>(&packets, peer);
|
|
AddPacket<PacketGameSettings>(&packets, peer);
|
|
AddPacket<PacketGameWeather>(&packets, peer);
|
|
AddPacket<PacketPlayerActiveSkills>(&packets, peer);
|
|
|
|
AddPacket<PacketPlayerAnimFlags>(&packets, peer);
|
|
AddPacket<PacketPlayerAnimPlay>(&packets, peer);
|
|
AddPacket<PacketPlayerAttack>(&packets, peer);
|
|
AddPacket<PacketPlayerAttribute>(&packets, peer);
|
|
AddPacket<PacketPlayerBaseInfo>(&packets, peer);
|
|
AddPacket<PacketPlayerBehavior>(&packets, peer);
|
|
AddPacket<PacketPlayerBook>(&packets, peer);
|
|
AddPacket<PacketPlayerBounty>(&packets, peer);
|
|
AddPacket<PacketPlayerCellChange>(&packets, peer);
|
|
AddPacket<PacketPlayerCellState>(&packets, peer);
|
|
AddPacket<PacketPlayerCharGen>(&packets, peer);
|
|
AddPacket<PacketPlayerClass>(&packets, peer);
|
|
AddPacket<PacketPlayerDeath>(&packets, peer);
|
|
AddPacket<PacketPlayerEquipment>(&packets, peer);
|
|
AddPacket<PacketPlayerFaction>(&packets, peer);
|
|
AddPacket<PacketPlayerInteraction>(&packets, peer);
|
|
AddPacket<PacketPlayerInventory>(&packets, peer);
|
|
AddPacket<PacketPlayerJail>(&packets, peer);
|
|
AddPacket<PacketPlayerJournal>(&packets, peer);
|
|
AddPacket<PacketPlayerKillCount>(&packets, peer);
|
|
AddPacket<PacketPlayerLevel>(&packets, peer);
|
|
AddPacket<PacketPlayerMiscellaneous>(&packets, peer);
|
|
AddPacket<PacketPlayerMomentum>(&packets, peer);
|
|
AddPacket<PacketPlayerPosition>(&packets, peer);
|
|
AddPacket<PacketPlayerQuickKeys>(&packets, peer);
|
|
AddPacket<PacketPlayerRegionAuthority>(&packets, peer);
|
|
AddPacket<PacketPlayerReputation>(&packets, peer);
|
|
AddPacket<PacketPlayerRest>(&packets, peer);
|
|
AddPacket<PacketPlayerResurrect>(&packets, peer);
|
|
AddPacket<PacketPlayerShapeshift>(&packets, peer);
|
|
AddPacket<PacketPlayerSkill>(&packets, peer);
|
|
AddPacket<PacketPlayerSpeech>(&packets, peer);
|
|
AddPacket<PacketPlayerSpellbook>(&packets, peer);
|
|
AddPacket<PacketPlayerStatsDynamic>(&packets, peer);
|
|
AddPacket<PacketPlayerTopic>(&packets, peer);
|
|
}
|