styyx-util
1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
st-refs.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
StyyxUtil
4
{
5
struct
RefUtil
6
{
11
static
bool
IsRefOreVein
( RE::TESObjectREFR *a_ref )
12
{
13
if
( !a_ref )
14
return
false
;
15
16
return
a_ref->HasKeywordByEditorID(
"ActiTypeOre"
) || a_ref->GetBaseObject()->HasKeywordByEditorID(
"ActiTypeOre"
);
17
}
18
};
19
}
StyyxUtil
Definition
st-actor.h:7
StyyxUtil::RefUtil
Definition
st-refs.h:6
StyyxUtil::RefUtil::IsRefOreVein
static bool IsRefOreVein(RE::TESObjectREFR *a_ref)
Check if a reference is a Ore Vein.
Definition
st-refs.h:11
include
st-refs.h
Generated by
1.16.1