rename SCE to YAS
This commit is contained in:
parent
91f05dcb9a
commit
185f1d758a
@ -15,18 +15,18 @@ var config int Suicide_High;
|
|||||||
var config int HellOnEarth_Low;
|
var config int HellOnEarth_Low;
|
||||||
var config int HellOnEarth_High;
|
var config int HellOnEarth_High;
|
||||||
|
|
||||||
public static function SCESettingsLevel DefaultSettings()
|
public static function YASSettingsLevel DefaultSettings()
|
||||||
{
|
{
|
||||||
local SCESettingsLevel Settings;
|
local YASSettingsLevel Settings;
|
||||||
|
|
||||||
`callstack_static("DefaultSettings");
|
`callstack_static("DefaultSettings");
|
||||||
|
|
||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SCESettingsLevel Settings()
|
public static function YASSettingsLevel Settings()
|
||||||
{
|
{
|
||||||
local SCESettingsLevel Settings;
|
local YASSettingsLevel Settings;
|
||||||
|
|
||||||
`callstack_static("Settings");
|
`callstack_static("Settings");
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ public static function SCESettingsLevel Settings()
|
|||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function WriteSettings(SCESettingsLevel Settings)
|
public static function WriteSettings(YASSettingsLevel Settings)
|
||||||
{
|
{
|
||||||
`callstack_static("WriteSettings");
|
`callstack_static("WriteSettings");
|
||||||
|
|
||||||
|
@ -10,18 +10,18 @@ var config int Low;
|
|||||||
var config int High;
|
var config int High;
|
||||||
var config bool bShowPingBars;
|
var config bool bShowPingBars;
|
||||||
|
|
||||||
public static function SCESettingsPing DefaultSettings()
|
public static function YASSettingsPing DefaultSettings()
|
||||||
{
|
{
|
||||||
local SCESettingsPing Settings;
|
local YASSettingsPing Settings;
|
||||||
|
|
||||||
`callstack_static("DefaultSettings");
|
`callstack_static("DefaultSettings");
|
||||||
|
|
||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SCESettingsPing Settings()
|
public static function YASSettingsPing Settings()
|
||||||
{
|
{
|
||||||
local SCESettingsPing Settings;
|
local YASSettingsPing Settings;
|
||||||
|
|
||||||
`callstack_static("Settings");
|
`callstack_static("Settings");
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ public static function SCESettingsPing Settings()
|
|||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function WriteSettings(SCESettingsPing Settings)
|
public static function WriteSettings(YASSettingsPing Settings)
|
||||||
{
|
{
|
||||||
`callstack_static("WriteSettings");
|
`callstack_static("WriteSettings");
|
||||||
|
|
||||||
|
@ -9,18 +9,18 @@ var config bool bEnabled;
|
|||||||
var config int Low;
|
var config int Low;
|
||||||
var config int High;
|
var config int High;
|
||||||
|
|
||||||
public static function SCESettingsState DefaultSettings()
|
public static function YASSettingsState DefaultSettings()
|
||||||
{
|
{
|
||||||
local SCESettingsState Settings;
|
local YASSettingsState Settings;
|
||||||
|
|
||||||
`callstack_static("DefaultSettings");
|
`callstack_static("DefaultSettings");
|
||||||
|
|
||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SCESettingsState Settings()
|
public static function YASSettingsState Settings()
|
||||||
{
|
{
|
||||||
local SCESettingsState Settings;
|
local YASSettingsState Settings;
|
||||||
|
|
||||||
`callstack_static("Settings");
|
`callstack_static("Settings");
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ public static function SCESettingsState Settings()
|
|||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function WriteSettings(SCESettingsState Settings)
|
public static function WriteSettings(YASSettingsState Settings)
|
||||||
{
|
{
|
||||||
`callstack_static("WriteSettings");
|
`callstack_static("WriteSettings");
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ var array<String> PerkNames;
|
|||||||
var array<RankInfo> CustomRanks;
|
var array<RankInfo> CustomRanks;
|
||||||
var array<UIDRankRelation> RankRelations;
|
var array<UIDRankRelation> RankRelations;
|
||||||
|
|
||||||
var SCESettings Settings;
|
var YASSettings Settings;
|
||||||
|
|
||||||
// Localization
|
// Localization
|
||||||
var localized string Players;
|
var localized string Players;
|
||||||
@ -129,7 +129,7 @@ function DrawMenu()
|
|||||||
local PlayerController PC;
|
local PlayerController PC;
|
||||||
local KFPlayerReplicationInfo KFPRI;
|
local KFPlayerReplicationInfo KFPRI;
|
||||||
local PlayerReplicationInfo PRI;
|
local PlayerReplicationInfo PRI;
|
||||||
local float XPos, YPos, YL, XL, FontScalar, XPosCenter, BoxW, BoxX, BoxH, MinBoxW, DoshSize;
|
local float XPos, YPos, YL, XL, FontScalar, XPoYASnter, BoxW, BoxX, BoxH, MinBoxW, DoshSize;
|
||||||
local int i, j, NumSpec, NumPlayer, NumAlivePlayer, Width;
|
local int i, j, NumSpec, NumPlayer, NumAlivePlayer, Width;
|
||||||
local float BorderSize;
|
local float BorderSize;
|
||||||
|
|
||||||
@ -196,9 +196,9 @@ function DrawMenu()
|
|||||||
BorderSize = Owner.HUDOwner.ScaledBorderSize;
|
BorderSize = Owner.HUDOwner.ScaledBorderSize;
|
||||||
|
|
||||||
// Server Info
|
// Server Info
|
||||||
XPosCenter = Canvas.ClipX * 0.5;
|
XPoYASnter = Canvas.ClipX * 0.5;
|
||||||
Width = Canvas.ClipX * 0.4; // Full Box Width
|
Width = Canvas.ClipX * 0.4; // Full Box Width
|
||||||
XPos = XPosCenter - Width * 0.5;
|
XPos = XPoYASnter - Width * 0.5;
|
||||||
YPos = YL;
|
YPos = YL;
|
||||||
|
|
||||||
BoxW = Width;
|
BoxW = Width;
|
||||||
|
@ -60,18 +60,18 @@ var config ColorRGBA PingTextColorLow;
|
|||||||
var config ColorRGBA PingTextColorMid;
|
var config ColorRGBA PingTextColorMid;
|
||||||
var config ColorRGBA PingTextColorHigh;
|
var config ColorRGBA PingTextColorHigh;
|
||||||
|
|
||||||
public static function SCEStyle DefaultSettings()
|
public static function YASStyle DefaultSettings()
|
||||||
{
|
{
|
||||||
local SCEStyle Settings;
|
local YASStyle Settings;
|
||||||
|
|
||||||
`callstack_static("DefaultSettings");
|
`callstack_static("DefaultSettings");
|
||||||
|
|
||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SCEStyle Settings()
|
public static function YASStyle Settings()
|
||||||
{
|
{
|
||||||
local SCEStyle Settings;
|
local YASStyle Settings;
|
||||||
|
|
||||||
`callstack_static("Settings");
|
`callstack_static("Settings");
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ public static function SCEStyle Settings()
|
|||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function WriteSettings(SCEStyle Settings)
|
public static function WriteSettings(YASStyle Settings)
|
||||||
{
|
{
|
||||||
`callstack_static("WriteSettings");
|
`callstack_static("WriteSettings");
|
||||||
|
|
||||||
|
@ -9,18 +9,18 @@ var config string Rank;
|
|||||||
var config ColorRGBA TextColor;
|
var config ColorRGBA TextColor;
|
||||||
var config Fields ApplyColorToFields;
|
var config Fields ApplyColorToFields;
|
||||||
|
|
||||||
public static function SCESettingsAdmin DefaultSettings()
|
public static function YASSettingsAdmin DefaultSettings()
|
||||||
{
|
{
|
||||||
local SCESettingsAdmin Settings;
|
local YASSettingsAdmin Settings;
|
||||||
|
|
||||||
`callstack_static("DefaultSettings");
|
`callstack_static("DefaultSettings");
|
||||||
|
|
||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SCESettingsAdmin Settings()
|
public static function YASSettingsAdmin Settings()
|
||||||
{
|
{
|
||||||
local SCESettingsAdmin Settings;
|
local YASSettingsAdmin Settings;
|
||||||
|
|
||||||
`callstack_static("Settings");
|
`callstack_static("Settings");
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ public static function SCESettingsAdmin Settings()
|
|||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function WriteSettings(SCESettingsAdmin Settings)
|
public static function WriteSettings(YASSettingsAdmin Settings)
|
||||||
{
|
{
|
||||||
`callstack_static("WriteSettings");
|
`callstack_static("WriteSettings");
|
||||||
|
|
||||||
|
@ -9,18 +9,18 @@ var config string Rank;
|
|||||||
var config ColorRGBA TextColor;
|
var config ColorRGBA TextColor;
|
||||||
var config Fields ApplyColorToFields;
|
var config Fields ApplyColorToFields;
|
||||||
|
|
||||||
public static function SCESettingsPlayer DefaultSettings()
|
public static function YASSettingsPlayer DefaultSettings()
|
||||||
{
|
{
|
||||||
local SCESettingsPlayer Settings;
|
local YASSettingsPlayer Settings;
|
||||||
|
|
||||||
`callstack_static("DefaultSettings");
|
`callstack_static("DefaultSettings");
|
||||||
|
|
||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SCESettingsPlayer Settings()
|
public static function YASSettingsPlayer Settings()
|
||||||
{
|
{
|
||||||
local SCESettingsPlayer Settings;
|
local YASSettingsPlayer Settings;
|
||||||
|
|
||||||
`callstack_static("Settings");
|
`callstack_static("Settings");
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ public static function SCESettingsPlayer Settings()
|
|||||||
return Settings;
|
return Settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function WriteSettings(SCESettingsPlayer Settings)
|
public static function WriteSettings(YASSettingsPlayer Settings)
|
||||||
{
|
{
|
||||||
`callstack_static("WriteSettings");
|
`callstack_static("WriteSettings");
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ struct UIDRankRelation
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCESettingsAdmin
|
struct YASSettingsAdmin
|
||||||
{
|
{
|
||||||
var string Rank;
|
var string Rank;
|
||||||
var ColorRGBA TextColor;
|
var ColorRGBA TextColor;
|
||||||
@ -87,7 +87,7 @@ struct SCESettingsAdmin
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCESettingsPlayer
|
struct YASSettingsPlayer
|
||||||
{
|
{
|
||||||
var string Rank;
|
var string Rank;
|
||||||
var ColorRGBA TextColor;
|
var ColorRGBA TextColor;
|
||||||
@ -101,7 +101,7 @@ struct SCESettingsPlayer
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCESettingsState
|
struct YASSettingsState
|
||||||
{
|
{
|
||||||
var bool Dynamic;
|
var bool Dynamic;
|
||||||
var int Low;
|
var int Low;
|
||||||
@ -115,7 +115,7 @@ struct SCESettingsState
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCESettingsPing
|
struct YASSettingsPing
|
||||||
{
|
{
|
||||||
var bool Dynamic;
|
var bool Dynamic;
|
||||||
var int Low;
|
var int Low;
|
||||||
@ -131,7 +131,7 @@ struct SCESettingsPing
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCESettingsLevel
|
struct YASSettingsLevel
|
||||||
{
|
{
|
||||||
var bool Dynamic;
|
var bool Dynamic;
|
||||||
var int Low[4];
|
var int Low[4];
|
||||||
@ -151,7 +151,7 @@ struct SCESettingsLevel
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCEStyle
|
struct YASStyle
|
||||||
{
|
{
|
||||||
var int EdgeSize;
|
var int EdgeSize;
|
||||||
var int ShapeServerNameBox;
|
var int ShapeServerNameBox;
|
||||||
@ -296,13 +296,13 @@ struct SCEStyle
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCESettings
|
struct YASSettings
|
||||||
{
|
{
|
||||||
var SCEStyle Style;
|
var YASStyle Style;
|
||||||
var SCESettingsAdmin Admin;
|
var YASSettingsAdmin Admin;
|
||||||
var SCESettingsPlayer Player;
|
var YASSettingsPlayer Player;
|
||||||
var SCESettingsState State;
|
var YASSettingsState State;
|
||||||
var SCESettingsPing Ping;
|
var YASSettingsPing Ping;
|
||||||
var SCESettingsLevel Level;
|
var YASSettingsLevel Level;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ var private array<SClient> RepClients;
|
|||||||
var private array<UIDRankRelation> UIDRankRelationsPlayers;
|
var private array<UIDRankRelation> UIDRankRelationsPlayers;
|
||||||
var private array<UIDRankRelation> UIDRankRelationsSteamGroups;
|
var private array<UIDRankRelation> UIDRankRelationsSteamGroups;
|
||||||
var private array<UIDRankRelation> UIDRankRelationsActive;
|
var private array<UIDRankRelation> UIDRankRelationsActive;
|
||||||
var private SCESettings Settings;
|
var private YASSettings Settings;
|
||||||
|
|
||||||
function PostBeginPlay()
|
function PostBeginPlay()
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ var private OnlineSubsystemSteamworks SW;
|
|||||||
var public array<UIDRankRelation> SteamGroupRelations;
|
var public array<UIDRankRelation> SteamGroupRelations;
|
||||||
var private array<UIDRankRelation> RankRelations;
|
var private array<UIDRankRelation> RankRelations;
|
||||||
var public array<RankInfo> CustomRanks;
|
var public array<RankInfo> CustomRanks;
|
||||||
var public SCESettings Settings;
|
var public YASSettings Settings;
|
||||||
var public UIDRankRelation RankRelation; // Current player rank relation
|
var public UIDRankRelation RankRelation; // Current player rank relation
|
||||||
|
|
||||||
var private int CustomRanksRepProgress, SteamGroupsRepProgress;
|
var private int CustomRanksRepProgress, SteamGroupsRepProgress;
|
||||||
@ -69,7 +69,7 @@ public function StartFirstTimeReplication()
|
|||||||
SetTimer(0.01f, true, nameof(ReplicateSteamGroupRelations));
|
SetTimer(0.01f, true, nameof(ReplicateSteamGroupRelations));
|
||||||
}
|
}
|
||||||
|
|
||||||
private reliable client function ClientAddSettings(SCESettings Set)
|
private reliable client function ClientAddSettings(YASSettings Set)
|
||||||
{
|
{
|
||||||
`callstack();
|
`callstack();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user