mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
code picked up from the_movie since it might be useful
This commit is contained in:
parent
36e6ca0bf5
commit
55b290e327
3 changed files with 8 additions and 2 deletions
|
@ -366,6 +366,7 @@ namespace Sapphire::Network::ActorControl
|
||||||
TitleList = 0x12F,
|
TitleList = 0x12F,
|
||||||
|
|
||||||
UpdatedSeenHowTos = 0x133,
|
UpdatedSeenHowTos = 0x133,
|
||||||
|
CutscenePlayed = 0x134, // param1 = cutscene id
|
||||||
AllotAttribute = 0x135,
|
AllotAttribute = 0x135,
|
||||||
|
|
||||||
ClearFieldMarkers = 0x13A,
|
ClearFieldMarkers = 0x13A,
|
||||||
|
|
|
@ -43,8 +43,8 @@ void Sapphire::World::Manager::TerritoryMgr::loadTerritoryTypeDetailCache()
|
||||||
for( auto id : exdData.getContentFinderConditionIdList() )
|
for( auto id : exdData.getContentFinderConditionIdList() )
|
||||||
{
|
{
|
||||||
auto cfc = exdData.get< Sapphire::Data::ContentFinderCondition >( id );
|
auto cfc = exdData.get< Sapphire::Data::ContentFinderCondition >( id );
|
||||||
if( !cfc || cfc->contentLinkType != 5 )
|
//if( !cfc || cfc->contentLinkType != 5 )
|
||||||
continue;
|
// continue;
|
||||||
|
|
||||||
m_questBattleToContentFinderMap[ cfc->content ] = id;
|
m_questBattleToContentFinderMap[ cfc->content ] = id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 );
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
case ClientTriggerType::CutscenePlayed:
|
||||||
|
{
|
||||||
|
player.sendDebug( "cutscene: {}", param1 );
|
||||||
|
break;
|
||||||
|
}
|
||||||
case ClientTriggerType::OpenPerformInstrumentUI:
|
case ClientTriggerType::OpenPerformInstrumentUI:
|
||||||
{
|
{
|
||||||
//param11 = instrument, 0 = end
|
//param11 = instrument, 0 = end
|
||||||
|
|
Loading…
Add table
Reference in a new issue