Moved GetPlayerClassNameGlobal() to EnderalFunctions
This commit is contained in:
parent
eeb35a7dae
commit
781988d6d6
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -100,7 +100,7 @@ void HeroMenuPatch::FillMenuValues()
|
|||||||
uiMovie->Invoke("heromenu_mc.SetStringValues", nullptr, args, 2);
|
uiMovie->Invoke("heromenu_mc.SetStringValues", nullptr, args, 2);
|
||||||
|
|
||||||
RE::BSTSmartPointer<RE::BSScript::IStackCallbackFunctor> stackCallback{ new ScriptClassNameCallback };
|
RE::BSTSmartPointer<RE::BSScript::IStackCallbackFunctor> stackCallback{ new ScriptClassNameCallback };
|
||||||
RE::BSScript::Internal::VirtualMachine::GetSingleton()->DispatchStaticCall("_00E_AffinityControl", "GetPlayerClassNameGlobal", RE::MakeFunctionArguments(), stackCallback);
|
RE::BSScript::Internal::VirtualMachine::GetSingleton()->DispatchStaticCall("EnderalFunctions", "GetPlayerClassNameGlobal", RE::MakeFunctionArguments(), stackCallback);
|
||||||
|
|
||||||
RE::GFxValue args2[33];
|
RE::GFxValue args2[33];
|
||||||
args2[0].SetNumber(playerAV->GetBaseActorValue(RE::ActorValue::kHealth));
|
args2[0].SetNumber(playerAV->GetBaseActorValue(RE::ActorValue::kHealth));
|
||||||
|
@ -464,12 +464,6 @@ String Function GetPlayerClassName()
|
|||||||
EndIf
|
EndIf
|
||||||
EndFunction
|
EndFunction
|
||||||
|
|
||||||
String Function GetPlayerClassNameGlobal() Global
|
|
||||||
{Called by EnderalSE.dll}
|
|
||||||
Quest AffinityQuest = Game.GetFormFromFile(0x1597B, "Enderal - Forgotten Stories.esm") as Quest;
|
|
||||||
return (AffinityQuest.GetAlias(0) as _00E_AffinityControl).GetPlayerClassName()
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
|
|
||||||
;=====================================================================================
|
;=====================================================================================
|
||||||
; PROPERTIES
|
; PROPERTIES
|
||||||
|
@ -29,3 +29,9 @@ bool function IsDLLLoaded() global
|
|||||||
int iVer = SKSE.GetPluginVersion("EnderalSE")
|
int iVer = SKSE.GetPluginVersion("EnderalSE")
|
||||||
return iVer > 0
|
return iVer > 0
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
String Function GetPlayerClassNameGlobal() Global
|
||||||
|
{Called by EnderalSE.dll}
|
||||||
|
Quest AffinityQuest = Game.GetFormFromFile(0x1597B, "Enderal - Forgotten Stories.esm") as Quest
|
||||||
|
return (AffinityQuest.GetAlias(0) as _00E_AffinityControl).GetPlayerClassName()
|
||||||
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user