styyx-util 1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
StyyxUtil::CellUtil Struct Reference

#include <st-cells.h>

Static Public Member Functions

static bool IsDungeon (const RE::TESObjectCELL *a_cell)
 Check if a cell is a dungeon.
static bool IsJail (RE::TESObjectCELL *a_cell)
 Check if a cell is a Jail.
static std::vector< RE::Actor * > GetAllActorsInCell (RE::TESObjectCELL *a_cell)
 Get a vector of all actors in the specified cell.

Static Public Attributes

static const std::vector< std::string > is_a_dungeon
 A vector of what I consider dungeon Keywords.

Member Function Documentation

◆ GetAllActorsInCell()

std::vector< RE::Actor * > StyyxUtil::CellUtil::GetAllActorsInCell ( RE::TESObjectCELL * a_cell)
inlinestatic

Get a vector of all actors in the specified cell.

Parameters
a_cellthe cell to check
Returns
vector with all actors in the cell

◆ IsDungeon()

bool StyyxUtil::CellUtil::IsDungeon ( const RE::TESObjectCELL * a_cell)
inlinestatic

Check if a cell is a dungeon.

Parameters
a_cellThe cell to check
Returns
Returns true if the cell has one of the dungeon keywords

◆ IsJail()

bool StyyxUtil::CellUtil::IsJail ( RE::TESObjectCELL * a_cell)
inlinestatic

Check if a cell is a Jail.

Parameters
a_cellThe cell to check
Returns
Returns true if the cell has the Jail keyword

Member Data Documentation

◆ is_a_dungeon

const std::vector<std::string> StyyxUtil::CellUtil::is_a_dungeon
inlinestatic
Initial value:
{
"LocTypeDungeon", "LocSetCave", "LocSetCaveIce", "LocTypeDwarvenAutomatons",
"LocTypeAnimalDen", "LocTypeBanditCamp", "LocTypeDragonPriestLair", "LocTypeDraugrCrypt",
"LocTypeFalmerHive", "LocTypeForswornCamp", "LocTypeGiantCamp", "LocTypeHagravenNest",
"LocTypeVampireLair", "LocTypeWarlockLair", "LocTypeWerewolfLair"}

A vector of what I consider dungeon Keywords.


The documentation for this struct was generated from the following file: