1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
469 B

#include "PapyrusLocation.h"
#include "GameForms.h"
namespace papyrusLocation
{
BGSLocation * GetParent(BGSLocation* thisLocation)
{
return thisLocation ? thisLocation->parentLoc : NULL;
}
}
#include "PapyrusVM.h"
#include "PapyrusNativeFunctions.h"
void papyrusLocation::RegisterFuncs(VMClassRegistry* registry)
{
registry->RegisterFunction(
new NativeFunction0<BGSLocation, BGSLocation*>("GetParent", "Location", papyrusLocation::GetParent, registry));
}