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
3namespace StyyxUtil
4{
5struct 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}
Definition st-actor.h:7
Definition st-refs.h:6
static bool IsRefOreVein(RE::TESObjectREFR *a_ref)
Check if a reference is a Ore Vein.
Definition st-refs.h:11