1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
--------------------------------------------
-- CampaignScoringManager Gamepad
--------------------------------------------
local ALWAYS_ANIMATE = true
CAMPAIGN_SCORING_GAMEPAD_FRAGMENT = ZO_FadeSceneFragment : New ( ZO_CampaignScoring_Gamepad , ALWAYS_ANIMATE )
if ( newState == SCENE_FRAGMENT_SHOWN ) then
manager . shown = true
elseif ( newState == SCENE_FRAGMENT_HIDDEN ) then
manager . shown = false
end
end )
return manager
end
-- ZO_CampaignScoringManager_Shared Overrides
local ALLIANCE_SCORING_INFO =
{
[ ALLIANCE_ALDMERI_DOMINION ] =
{
} ,
[ ALLIANCE_DAGGERFALL_COVENANT ] =
{
} ,
[ ALLIANCE_EBONHEART_PACT ] =
{
} ,
}
local scoreSection = self . scoreSections [ index ]
local alliance = scoreInfo . alliance
local allianceInfo = ALLIANCE_SCORING_INFO [ alliance ]
scoreSection . potentialPoints : SetText ( zo_strformat ( SI_CAMPAIGN_SCORING_POTENTIAL_POINTS , scoreInfo . potentialScore ) )
self : UpdateBonusIconVisibilities ( scoreSection . potentialPoints , scoreSection . underdogScoreIcon , scoreInfo . isUnderdog , scoreSection . underdogPopIcon , scoreInfo . isUnderpop )
scoreSection . numResources : SetText ( zo_strformat ( SI_CAMPAIGN_SCORING_HOLDING , scoreInfo . numResources ) )
end
-- XML Calls
end |