Github Ticket #361

This commit is contained in:
Tercio Jose
2022-10-03 08:42:51 -03:00
parent accfc86d8b
commit ffd4ba2cf0
3 changed files with 318 additions and 548 deletions
+6
View File
@@ -15,6 +15,10 @@
_detalhes.APIVersion = _detalhes.realversion --core version
_detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" --simple stirng to show to players
function _detalhes:GetCoreVersion()
return _detalhes.realversion
end
_detalhes.BFACORE = 131 --core version on BFA launch
_detalhes.SHADOWLANDSCORE = 143 --core version on Shadowlands launch
--
@@ -510,7 +514,9 @@ do
if (Details.debug) then
Details:Msg("Safe run failed:", executionName, errorText)
end
return false
end
return true
end
--> tooltip
+302 -548
View File
File diff suppressed because it is too large Load Diff
+10
View File
@@ -967,6 +967,16 @@ function SlashCmdList.DETAILS (msg, editbox)
end
--> debug
elseif (command == "debugnet") then
if (_detalhes.debugnet) then
_detalhes.debugnet = false
print(Loc["STRING_DETAILS1"] .. "net diagnostic mode has been turned off.")
return
else
_detalhes.debugnet = true
print(Loc["STRING_DETAILS1"] .. "net diagnostic mode has been turned on.")
end
elseif (command == "debug") then
if (_detalhes.debug) then
_detalhes.debug = false