CommonLibSSE (Parapets fork)
RE::CellID Struct Reference

#include <TESWorldSpace.h>

Public Member Functions

constexpr CellID () noexcept
 
constexpr CellID (std::int16_t a_y, std::int16_t a_x) noexcept
 
constexpr std::int16_t & operator[] (std::size_t a_idx) noexcept
 
constexpr const std::int16_t & operator[] (std::size_t a_idx) const noexcept
 

Public Attributes

std::int16_t y
 
std::int16_t x
 

Friends

constexpr friend bool operator== (const CellID &a_lhs, const CellID &a_rhs) noexcept
 

Constructor & Destructor Documentation

◆ CellID() [1/2]

constexpr RE::CellID::CellID ( )
inlineconstexprnoexcept

◆ CellID() [2/2]

constexpr RE::CellID::CellID ( std::int16_t  a_y,
std::int16_t  a_x 
)
inlineconstexprnoexcept

Member Function Documentation

◆ operator[]() [1/2]

constexpr const std::int16_t& RE::CellID::operator[] ( std::size_t  a_idx) const
inlineconstexprnoexcept

◆ operator[]() [2/2]

constexpr std::int16_t& RE::CellID::operator[] ( std::size_t  a_idx)
inlineconstexprnoexcept

Friends And Related Function Documentation

◆ operator==

constexpr friend bool operator== ( const CellID a_lhs,
const CellID a_rhs 
)
friend

Member Data Documentation

◆ x

std::int16_t RE::CellID::x

◆ y

std::int16_t RE::CellID::y

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