maint: rebrand

This commit is contained in:
Diavolo
2023-12-02 23:21:06 +01:00
parent 5f8c9e540f
commit cdf12853c6
32 changed files with 74 additions and 105 deletions

View File

@ -27,7 +27,7 @@ CoD.LobbyButtons.STATS = {
stringRef = "STATS",
action = function(self, element, controller, param, menu)
SetPerControllerTableProperty(controller, "disableGameSettingsOptions", true)
OpenPopup(menu, "BoiiiStatsMenu", controller)
OpenPopup(menu, "T7xStatsMenu", controller)
end,
customId = "btnMPStats"
}

View File

@ -345,8 +345,8 @@ if Dvar.cg_unlockall_loot:get() == true then
Engine.SetDvar("ui_enableAllHeroes", 1)
end
LUI.createMenu.BoiiiStatsMenu = function(controller)
local self = CoD.Menu.NewForUIEditor("BoiiiStatsMenu")
LUI.createMenu.T7xStatsMenu = function(controller)
local self = CoD.Menu.NewForUIEditor("T7xStatsMenu")
if PreLoadFunc then
PreLoadFunc(self, controller)
end
@ -355,7 +355,7 @@ LUI.createMenu.BoiiiStatsMenu = function(controller)
self:setLeftRight(true, true, 0, 0)
self:setTopBottom(true, true, 0, 0)
self:playSound("menu_open", controller)
self.buttonModel = Engine.CreateModel(Engine.GetModelForController(controller), "BoiiiStatsMenu.buttonPrompts")
self.buttonModel = Engine.CreateModel(Engine.GetModelForController(controller), "T7xStatsMenu.buttonPrompts")
self.anyChildUsesUpdateState = true
local GameSettingsBackground = CoD.GameSettings_Background.new(self, controller)
@ -410,7 +410,7 @@ LUI.createMenu.BoiiiStatsMenu = function(controller)
element.GameSettingsBackground:close()
element.Options:close()
Engine.UnsubscribeAndFreeModel(Engine.GetModel(Engine.GetModelForController(controller),
"BoiiiStatsMenu.buttonPrompts"))
"T7xStatsMenu.buttonPrompts"))
end)
if PostLoadFunc then