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
{
12
static
bool
IsRefOreVein
(RE::TESObjectREFR* a_ref)
13
{
14
if
(!a_ref)
15
return
false
;
16
17
return
a_ref->HasKeywordByEditorID(
"ActiTypeOre"
) ||
18
a_ref->GetBaseObject()->HasKeywordByEditorID(
"ActiTypeOre"
);
19
}
20
};
21
}
// namespace StyyxUtil
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:12
include
st-refs.h
Generated by
1.16.1