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"); }
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; }
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); }
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"); }
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); } }
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; }
// 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; }
public BaseIcon(UObject uObject, EIconStyle style) : base(uObject, style) { }
public BaseLeague(UObject uObject, EIconStyle style) : base(uObject, style) { _promotionXp = 0; _xpLostPerMatch = 0; }
public BaseGameModeInfo(UObject uObject, EIconStyle style) : base(uObject, style) { Width = 738; Height = 1024; }
public BaseQuest(int completionCount, int quantity, string reward, EIconStyle style) : this(completionCount, style) // completion { _reward = new Reward(quantity, reward); }
public CreatorPackage(UObject uObject, EIconStyle style) { _object = uObject; _style = style; }
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") }; }
public BaseBundle(UObject uObject, EIconStyle style) : base(uObject, style) { Width = 1024; Height = _headerHeight; Margin = 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") }; }
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(); }
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); }
public BaseCommunity(UObject uObject, EIconStyle style, string designName) : base(uObject, style) { Margin = 0; _lowerDrawn = false; _design = ApplicationService.ApiEndpointView.FModelApi.GetDesign(designName); }
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); }