23 lines
694 B
C++
23 lines
694 B
C++
#pragma once
|
|
|
|
#include "GameTypes.h"
|
|
|
|
class BGSHeadPart;
|
|
class BGSListForm;
|
|
class VMClassRegistry;
|
|
struct StaticFunctionTag;
|
|
|
|
namespace papyrusHeadPart
|
|
{
|
|
void RegisterFuncs(VMClassRegistry* registry);
|
|
|
|
BGSHeadPart* GetHeadPart(StaticFunctionTag*, BSFixedString editorID);
|
|
UInt32 GetType(BGSHeadPart* thisPart);
|
|
UInt32 GetNumExtraParts(BGSHeadPart* thisPart);
|
|
BGSHeadPart* GetNthExtraPart(BGSHeadPart* thisPart, UInt32 n);
|
|
bool HasExtraPart(BGSHeadPart* thisPart, BGSHeadPart* extraPart);
|
|
UInt32 GetIndexOfExtraPart(BGSHeadPart* thisPart, BGSHeadPart* extraPart);
|
|
BGSListForm* GetValidRaces(BGSHeadPart* thisPart);
|
|
void SetValidRaces(BGSHeadPart* thisPart, BGSListForm* raceList);
|
|
};
|