mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
Applied template simplification to chat channel packets
This commit is contained in:
parent
5f5ce9970b
commit
23a32e67db
1 changed files with 2 additions and 2 deletions
|
@ -555,7 +555,7 @@ void Core::Network::GameConnection::tellHandler( const Packets::GamePacket& inPa
|
||||||
|
|
||||||
if( !pSession )
|
if( !pSession )
|
||||||
{
|
{
|
||||||
GamePacketNew< FFXIVIpcTellErrNotFound, ServerChatIpcType > tellErrPacket( pPlayer->getId() );
|
ChatChannelPacket< FFXIVIpcTellErrNotFound > tellErrPacket( pPlayer->getId() );
|
||||||
strcpy( tellErrPacket.data().receipientName, targetPcName.c_str() );
|
strcpy( tellErrPacket.data().receipientName, targetPcName.c_str() );
|
||||||
sendSinglePacket( tellErrPacket );
|
sendSinglePacket( tellErrPacket );
|
||||||
|
|
||||||
|
@ -588,7 +588,7 @@ void Core::Network::GameConnection::tellHandler( const Packets::GamePacket& inPa
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
GamePacketNew< FFXIVIpcTell, ServerChatIpcType > tellPacket( pPlayer->getId() );
|
ChatChannelPacket< FFXIVIpcTell > tellPacket( pPlayer->getId() );
|
||||||
strcpy( tellPacket.data().msg, msg.c_str() );
|
strcpy( tellPacket.data().msg, msg.c_str() );
|
||||||
strcpy( tellPacket.data().receipientName, pPlayer->getName().c_str() );
|
strcpy( tellPacket.data().receipientName, pPlayer->getName().c_str() );
|
||||||
// TODO: do these have a meaning?
|
// TODO: do these have a meaning?
|
||||||
|
|
Loading…
Add table
Reference in a new issue