Beispiel #1
0
 public BasePlaylist(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Margin  = 0;
     Width   = 1024;
     Height  = 512;
     Preview = Utils.GetBitmap("FortniteGame/Content/UI/Foundation/Textures/Tiles/T_Athena_Tile_Matchmaking_Default.T_Athena_Tile_Matchmaking_Default");
 }
Beispiel #2
0
 public BaseSpellIcon(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Background = new[] { SKColor.Parse("FFFFFF"), SKColor.Parse("636363") };
     Border     = new[] { SKColor.Parse("D0D0D0"), SKColor.Parse("FFFFFF") };
     Width      = Object.ExportType.StartsWith("GCosmeticCard") ? 1536 : 512;
     Height     = Object.ExportType.StartsWith("GCosmeticCard") ? 450 : 512;
 }
Beispiel #3
0
        private BaseQuest(int completionCount, EIconStyle style) : this(null, style) // completion
        {
            var description = completionCount < 0 ?
                              Utils.GetLocalizedResource("AthenaChallengeDetailsEntry", "CompletionRewardFormat_All", "Complete <text color=\"FFF\" case=\"upper\" fontface=\"black\">all {0} challenges</> to earn the reward item") :
                              Utils.GetLocalizedResource("AthenaChallengeDetailsEntry", "CompletionRewardFormat", "Complete <text color=\"FFF\" case=\"upper\" fontface=\"black\">any {0} challenges</> to earn the reward item");

            DisplayName = ReformatString(description, completionCount.ToString(), completionCount < 0);
        }
Beispiel #4
0
 public BaseIconStats(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Width          = 1024;
     Height         = _headerHeight;
     Margin         = 0;
     _statistics    = new List <IconStat>();
     _screenLayer   = uObject.ExportType.Equals("FortAccoladeItemDefinition", StringComparison.OrdinalIgnoreCase);
     DefaultPreview = Utils.GetBitmap("FortniteGame/Content/Athena/HUD/Quests/Art/T_NPC_Default.T_NPC_Default");
 }
Beispiel #5
0
 public BaseQuest(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Margin         = 0;
     Width          = 1024;
     Height         = 256;
     DefaultPreview = Utils.GetBitmap("FortniteGame/Content/Athena/HUD/Quests/Art/T_NPC_Default.T_NPC_Default");
     if (uObject != null)
     {
         _screenLayer = uObject.ExportType.Equals("FortFeatItemDefinition", StringComparison.OrdinalIgnoreCase);
     }
 }
Beispiel #6
0
 protected UCreator(UObject uObject, EIconStyle style)
 {
     DefaultPreview = SKBitmap.Decode(Application.GetResourceStream(new Uri("pack://application:,,,/Resources/T_Placeholder_Item_Image.png"))?.Stream);
     Background     = new[] { SKColor.Parse("5BFD00"), SKColor.Parse("003700") };
     Border         = new[] { SKColor.Parse("1E8500"), SKColor.Parse("5BFD00") };
     DisplayName    = string.Empty;
     Description    = string.Empty;
     Width          = 512;
     Height         = 512;
     Margin         = 2;
     Object         = uObject;
     Style          = style;
 }
Beispiel #7
0
        // keep the list because rewards are ordered by least to most important
        // we only care about the most but we also have filters so we can't just take the last reward

        public BaseSeason(UObject uObject, EIconStyle style) : base(uObject, style)
        {
            Width  = 1024;
            Height = _headerHeight + 50;
            Margin = 0;
        }
Beispiel #8
0
 public BaseIcon(UObject uObject, EIconStyle style) : base(uObject, style)
 {
 }
Beispiel #9
0
 public BaseLeague(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     _promotionXp    = 0;
     _xpLostPerMatch = 0;
 }
Beispiel #10
0
 public BaseGameModeInfo(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Width  = 738;
     Height = 1024;
 }
Beispiel #11
0
 public BaseQuest(int completionCount, int quantity, string reward, EIconStyle style) : this(completionCount, style) // completion
 {
     _reward = new Reward(quantity, reward);
 }
Beispiel #12
0
 public CreatorPackage(UObject uObject, EIconStyle style)
 {
     _object = uObject;
     _style  = style;
 }
Beispiel #13
0
 public BaseBreakersIcon(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     SeriesBackground = Utils.GetBitmap("WorldExplorers/Content/UMG/Materials/t_TextGradient.t_TextGradient");
     Background       = new[] { SKColor.Parse("D0D0D0"), SKColor.Parse("636363") };
     Border           = new[] { SKColor.Parse("D0D0D0"), SKColor.Parse("FFFFFF") };
 }
Beispiel #14
0
 public BaseBundle(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Width  = 1024;
     Height = _headerHeight;
     Margin = 0;
 }
Beispiel #15
0
 public BaseSeries(UObject uObject, EIconStyle style) : base(uObject, style)
 {
 }
 public BaseMaterialInstance(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Background = new[] { SKColor.Parse("4F4F69"), SKColor.Parse("4F4F69") };
     Border     = new[] { SKColor.Parse("9092AB") };
 }
Beispiel #17
0
 public BaseQuest(int completionCount, FSoftObjectPath itemDefinition, EIconStyle style) : this(completionCount, style) // completion
 {
     _reward = Utils.TryLoadObject(itemDefinition.AssetPathName.Text, out UObject uObject) ? new Reward(uObject) : new Reward();
 }
Beispiel #18
0
 public BaseDecayIcon(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     Margin             = 0;
     Background         = new[] { SKColor.Parse("000000"), SKColor.Parse("B24E18") };
     _backgroundOverlay = Utils.GetBitmap("StateOfDecay2/Content/Art/UI/settings/icon_sod_eagle_09_square.icon_sod_eagle_09_square").Resize(512);
 }
Beispiel #19
0
 public BaseCommunity(UObject uObject, EIconStyle style, string designName) : base(uObject, style)
 {
     Margin      = 0;
     _lowerDrawn = false;
     _design     = ApplicationService.ApiEndpointView.FModelApi.GetDesign(designName);
 }
Beispiel #20
0
 public BaseItemAccessToken(UObject uObject, EIconStyle style) : base(uObject, style)
 {
     _unlocked = Utils.GetBitmap("FortniteGame/Content/UI/Foundation/Textures/Icons/Locks/T-Icon-Unlocked-128.T-Icon-Unlocked-128").Resize(24);
     _locked   = Utils.GetBitmap("FortniteGame/Content/UI/Foundation/Textures/Icons/Locks/T-Icon-Lock-128.T-Icon-Lock-128").Resize(24);
 }