1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-25 02:57:45 +00:00

code picked up from the_movie since it might be useful

This commit is contained in:
collett 2021-08-08 05:13:47 +09:00
parent 36e6ca0bf5
commit 55b290e327
3 changed files with 8 additions and 2 deletions

View file

@ -366,6 +366,7 @@ namespace Sapphire::Network::ActorControl
TitleList = 0x12F,
UpdatedSeenHowTos = 0x133,
CutscenePlayed = 0x134, // param1 = cutscene id
AllotAttribute = 0x135,
ClearFieldMarkers = 0x13A,

View file

@ -43,8 +43,8 @@ void Sapphire::World::Manager::TerritoryMgr::loadTerritoryTypeDetailCache()
for( auto id : exdData.getContentFinderConditionIdList() )
{
auto cfc = exdData.get< Sapphire::Data::ContentFinderCondition >( id );
if( !cfc || cfc->contentLinkType != 5 )
continue;
//if( !cfc || cfc->contentLinkType != 5 )
// continue;
m_questBattleToContentFinderMap[ cfc->content ] = id;
}

View file

@ -496,6 +496,11 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( const Packets::FFX
player.sendDebug( "event battle p1: {0}, p11: {1}, p12: {2}, p2: {3}, p3: {4}, p4: {5}, p5: {6}", param1, param11, param12, param2, param3, param4, param5 );
break;
}
case ClientTriggerType::CutscenePlayed:
{
player.sendDebug( "cutscene: {}", param1 );
break;
}
case ClientTriggerType::OpenPerformInstrumentUI:
{
//param11 = instrument, 0 = end