Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/SapphireMordred/Sapphire
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
SapphireMordred committed Aug 28, 2018
2 parents eb5a567 + b6d34fd commit 2a74f69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/Network/CommonActorControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ namespace Core {
SetMaxGearSets = 0x230,

SetCharaGearParamUI = 0x260,
ToggleWireframeRendering = 0x261,

GearSetEquipMsg = 0x321,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ enum GmCommand
GC = 0x0154,
GCRank = 0x0155,
Aetheryte = 0x015E,
Wireframe = 0x0226,
Teri = 0x0258,
Kick = 0x025C,
TeriInfo = 0x025D,
Expand Down Expand Up @@ -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 >();
Expand Down

0 comments on commit 2a74f69

Please sign in to comment.