mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
Added wireframe rendering actorcontrol type and gm wireframe command
This commit is contained in:
parent
c3e715128f
commit
3deeaadcef
2 changed files with 8 additions and 0 deletions
|
@ -197,6 +197,7 @@ namespace Core {
|
|||
SetMaxGearSets = 0x230,
|
||||
|
||||
SetCharaGearParamUI = 0x260,
|
||||
ToggleWireframeRendering = 0x261,
|
||||
|
||||
GearSetEquipMsg = 0x321,
|
||||
|
||||
|
|
|
@ -80,6 +80,7 @@ enum GmCommand
|
|||
GC = 0x0154,
|
||||
GCRank = 0x0155,
|
||||
Aetheryte = 0x015E,
|
||||
Wireframe = 0x0226,
|
||||
Teri = 0x0258,
|
||||
Kick = 0x025C,
|
||||
TeriInfo = 0x025D,
|
||||
|
@ -412,6 +413,12 @@ void Core::Network::GameConnection::gm1Handler( const Packets::FFXIVARR_PACKET_R
|
|||
|
||||
break;
|
||||
}
|
||||
case GmCommand::Wireframe:
|
||||
{
|
||||
player.queuePacket( boost::make_shared< ActorControlPacket143 >( player.getId(), ActorControlType::ToggleWireframeRendering ) );
|
||||
player.sendNotice( "Wireframe Rendering for " + player.getName() + "was toggled" );
|
||||
break;
|
||||
}
|
||||
case GmCommand::Teri:
|
||||
{
|
||||
auto pTeriMgr = g_fw.get< TerritoryMgr >();
|
||||
|
|
Loading…
Add table
Reference in a new issue