CommonLibSSE (Parapets fork)
RE::BSScript Namespace Reference

Namespaces

 ByteCode
 
 Impl
 
 Internal
 
 NF_util
 
 UnlinkedTypes
 

Classes

class  Array
 
class  ObjectBindPolicy
 
struct  is_not_const
 
struct  is_not_volatile
 
struct  is_not_reference
 
struct  is_not_pointer
 
struct  defines_value_type
 
struct  defines_value_type< T, std::void_t< typename T::value_type > >
 
struct  defines_size_type
 
struct  defines_size_type< T, std::void_t< typename T::size_type > >
 
struct  defines_iterator
 
struct  defines_iterator< T, std::void_t< typename T::iterator > >
 
struct  implements_begin
 
struct  implements_begin< T, std::enable_if_t< std::is_same_v< typename T::iterator, decltype(std::declval< T >().begin())> > >
 
struct  implements_end
 
struct  implements_end< T, std::enable_if_t< std::is_same_v< typename T::iterator, decltype(std::declval< T >().end())> > >
 
struct  implements_size
 
struct  implements_size< T, std::enable_if_t< std::is_invocable_r_v< typename T::size_type, decltype(&T::size), T > > >
 
struct  implements_push_back
 
struct  implements_push_back< T, std::void_t< decltype(std::declval< T >().push_back(std::declval< typename T::value_type >()))> >
 
struct  _is_integer
 
struct  _is_integer< bool >
 
struct  is_integer
 
struct  index_sequence_for_tuple
 
struct  decay_pointer
 
struct  is_string
 
struct  is_signed_integral
 
struct  is_unsigned_integral
 
struct  is_integral
 
struct  is_floating_point
 
struct  is_boolean
 
struct  is_builtin
 
struct  is_string_convertible
 
struct  is_signed_integral_convertible
 
struct  is_signed_integral_convertible< T, std::enable_if_t< std::is_enum_v< T > > >
 
struct  is_unsigned_integral_convertible
 
struct  is_unsigned_integral_convertible< T, std::enable_if_t< std::is_enum_v< T > > >
 
struct  is_integral_convertible
 
struct  is_floating_point_convertible
 
struct  is_builtin_convertible
 
struct  is_form
 
struct  is_form_pointer
 
struct  is_alias
 
struct  is_alias_pointer
 
struct  is_active_effect
 
struct  is_active_effect_pointer
 
struct  _is_array
 
struct  _is_array< std::vector< bool > >
 
struct  is_array
 
class  CompiledScriptLoader
 
class  ErrorLogger
 
class  FunctionArguments
 
class  FunctionArguments< std::enable_if_t< std::conjunction_v< is_return_convertible< Args >... > >, Args... >
 
class  IFreezeQuery
 
class  IFunction
 
class  IFunctionArguments
 
struct  ILoader
 
struct  IMemoryPagePolicy
 
struct  IObjectHandlePolicy
 
class  IObjectProcessor
 
class  IProfilePolicy
 
class  ISavePatcherInterface
 
class  IStackCallbackFunctor
 
class  IStackCallbackSaveInterface
 
class  IStore
 
class  IVirtualMachine
 
class  IVMDebugInterface
 
struct  IVMObjectBindInterface
 
class  IVMSaveLoadInterface
 
class  LinkerProcessor
 
struct  LogEvent
 
struct  MemoryPage
 
class  NativeFunction
 
struct  LatentPromise
 
struct  LatentResult
 
struct  LatentPromiseBase
 
struct  LatentPromise< void >
 
class  NativeLatentFunction
 
class  Object
 
class  ObjectTypeInfo
 
struct  PropertyTypeInfo
 
class  reference_array
 
class  reference_array< T, std::enable_if_t< std::disjunction_v< is_builtin_convertible< T >, is_form_pointer< T > > > >
 
class  SimpleAllocMemoryPagePolicy
 
class  Stack
 
class  StackFrame
 
struct  StatsEvent
 
class  TypeInfo
 
struct  _is_reference_wrapper
 
struct  _is_reference_wrapper< reference_array< T > >
 
struct  is_reference_wrapper
 
struct  is_not_reference_wrapper
 
struct  _unwrapped_type
 
struct  _unwrapped_type< T, std::enable_if_t< std::disjunction_v< is_array< T >, is_reference_wrapper< T > > > >
 
struct  unwrapped_type
 
struct  vm_type_constant
 
struct  _vm_type
 
struct  _vm_type< void >
 
struct  _vm_type< T, std::enable_if_t< is_string_convertible_v< T > > >
 
struct  _vm_type< T, std::enable_if_t< is_integral_convertible_v< T > > >
 
struct  _vm_type< T, std::enable_if_t< is_floating_point_convertible_v< T > > >
 
struct  _vm_type< T, std::enable_if_t< is_boolean_v< T > > >
 
struct  vm_type
 
struct  is_static_base
 
struct  is_static_base_pointer
 
struct  is_valid_base
 
struct  is_valid_parameter
 
struct  is_parameter_convertible
 
struct  is_valid_return
 
struct  is_valid_latent_return
 
struct  is_return_convertible
 
struct  is_valid_short_sig
 
struct  is_valid_long_sig
 
struct  is_valid_latent_sig
 
class  Variable
 
class  ZeroFunctionArguments
 

Typedefs

template<class T >
using decay_pointer_t = typename decay_pointer< T >::type
 
template<class T >
using unwrapped_type_t = typename unwrapped_type< T >::type
 

Functions

TypeInfo::RawType GetRawTypeFromVMType (VMTypeID a_typeID)
 
void BindID (BSTSmartPointer< Object > &a_object, const void *a_src, VMTypeID a_typeID)
 
void PackHandle (Variable *a_dst, const void *a_src, VMTypeID a_typeID)
 
void * UnpackHandle (const Variable *a_src, VMTypeID a_typeID)
 
template<class T , std::enable_if_t< is_builtin_convertible_v< T >, int > = 0>
TypeInfo::RawType GetRawType ()
 
template<class T , class U = std::decay_t<T>, std::enable_if_t< is_string_convertible_v< U >, int > = 0>
void PackValue (Variable *a_dst, T &&a_src)
 
template<class T , std::enable_if_t< is_static_base_pointer_v< T >, int > = 0>
UnpackValue ([[maybe_unused]] const Variable *a_src)
 
template<class T , std::enable_if_t< is_string_convertible_v< T >, int > = 0>
UnpackValue (const Variable *a_src)
 
template<class T >
void swap (reference_array< T > &a_lhs, reference_array< T > &a_rhs)
 

Variables

template<class T >
constexpr bool is_not_const_v = is_not_const<T>::value
 
template<class T >
constexpr bool is_not_volatile_v = is_not_volatile<T>::value
 
template<class T >
constexpr bool is_not_reference_v = is_not_reference<T>::value
 
template<class T >
constexpr bool is_not_pointer_v = is_not_pointer<T>::value
 
template<class T >
constexpr bool defines_value_type_v = defines_value_type<T>::value
 
template<class T >
constexpr bool defines_size_type_v = defines_size_type<T>::value
 
template<class T >
constexpr bool defines_iterator_v = defines_iterator<T>::value
 
template<class T >
constexpr bool implements_begin_v = implements_begin<T>::value
 
template<class T >
constexpr bool implements_end_v = implements_end<T>::value
 
template<class T >
constexpr bool implements_size_v = implements_size<T>::value
 
template<class T >
constexpr bool implements_push_back_v = implements_push_back<T>::value
 
template<class T >
constexpr bool is_integer_v = is_integer<T>::value
 
template<class T >
constexpr bool is_string_v = is_string<T>::value
 
template<class T >
constexpr bool is_signed_integral_v = is_signed_integral<T>::value
 
template<class T >
constexpr bool is_unsigned_integral_v = is_unsigned_integral<T>::value
 
template<class T >
constexpr bool is_integral_v = is_integral<T>::value
 
template<class T >
constexpr bool is_floating_point_v = is_floating_point<T>::value
 
template<class T >
constexpr bool is_boolean_v = is_boolean<T>::value
 
template<class T >
constexpr bool is_builtin_v = is_builtin<T>::value
 
template<class T >
constexpr bool is_string_convertible_v = is_string_convertible<T>::value
 
template<class T >
constexpr bool is_signed_integral_convertible_v = is_signed_integral_convertible<T>::value
 
template<class T >
constexpr bool is_unsigned_integral_convertible_v = is_unsigned_integral_convertible<T>::value
 
template<class T >
constexpr bool is_integral_convertible_v = is_integral_convertible<T>::value
 
template<class T >
constexpr bool is_floating_point_convertible_v = is_floating_point_convertible<T>::value
 
template<class T >
constexpr bool is_builtin_convertible_v = is_builtin_convertible<T>::value
 
template<class T >
constexpr bool is_form_v = is_form<T>::value
 
template<class T >
constexpr bool is_form_pointer_v = is_form_pointer<T>::value
 
template<class T >
constexpr bool is_alias_v = is_alias<T>::value
 
template<class T >
constexpr bool is_alias_pointer_v = is_alias_pointer<T>::value
 
template<class T >
constexpr bool is_active_effect_v = is_active_effect<T>::value
 
template<class T >
constexpr bool is_active_effect_pointer_v = is_active_effect_pointer<T>::value
 
template<class T >
constexpr bool is_array_v = is_array<T>::value
 
template<class T >
constexpr bool is_reference_wrapper_v = is_reference_wrapper<T>::value
 
template<class T >
constexpr bool is_not_reference_wrapper_v = is_not_reference_wrapper<T>::value
 
template<class T >
constexpr TypeInfo::RawType vm_type_v = vm_type<T>::value
 
template<class T >
constexpr bool is_static_base_v = is_static_base<T>::value
 
template<class T >
constexpr bool is_static_base_pointer_v = is_static_base_pointer<T>::value
 
template<class T >
constexpr bool is_valid_base_v = is_valid_base<T>::value
 
template<class T >
constexpr bool is_valid_parameter_v = is_valid_parameter<T>::value
 
template<class T >
constexpr bool is_parameter_convertible_v = is_parameter_convertible<T>::value
 
template<class T >
constexpr bool is_valid_return_v = is_valid_return<T>::value
 
template<class T >
constexpr bool is_valid_latent_return_v = is_valid_latent_return<T>::value
 
template<class T >
constexpr bool is_return_convertible_v = is_return_convertible<T>::value
 
template<class R , class Cls , class... Args>
constexpr bool is_valid_short_sig_v = is_valid_short_sig<R, Cls, Args...>::value
 
template<class Int , class R , class Cls , class... Args>
constexpr bool is_valid_long_sig_v = is_valid_long_sig<Int, R, Cls, Args...>::value
 
template<class Int , class R , class Cls , class... Args>
constexpr bool is_valid_latent_sig_v = is_valid_latent_sig<Int, R, Cls, Args...>::value
 

Typedef Documentation

◆ decay_pointer_t

template<class T >
using RE::BSScript::decay_pointer_t = typedef typename decay_pointer<T>::type

◆ unwrapped_type_t

template<class T >
using RE::BSScript::unwrapped_type_t = typedef typename unwrapped_type<T>::type

Function Documentation

◆ BindID()

void RE::BSScript::BindID ( BSTSmartPointer< Object > &  a_object,
const void *  a_src,
VMTypeID  a_typeID 
)

◆ GetRawType()

template<class T , std::enable_if_t< is_builtin_convertible_v< T >, int > = 0>
TypeInfo::RawType RE::BSScript::GetRawType ( )
inline

◆ GetRawTypeFromVMType()

TypeInfo::RawType RE::BSScript::GetRawTypeFromVMType ( VMTypeID  a_typeID)

◆ PackHandle()

void RE::BSScript::PackHandle ( Variable a_dst,
const void *  a_src,
VMTypeID  a_typeID 
)

◆ PackValue()

template<class T , class U = std::decay_t<T>, std::enable_if_t< is_string_convertible_v< U >, int > = 0>
void RE::BSScript::PackValue ( Variable a_dst,
T &&  a_src 
)
inline

◆ swap()

template<class T >
void RE::BSScript::swap ( reference_array< T > &  a_lhs,
reference_array< T > &  a_rhs 
)

◆ UnpackHandle()

void* RE::BSScript::UnpackHandle ( const Variable a_src,
VMTypeID  a_typeID 
)

◆ UnpackValue() [1/2]

template<class T , std::enable_if_t< is_static_base_pointer_v< T >, int > = 0>
T RE::BSScript::UnpackValue ( [[maybe_unused] ] const Variable a_src)
inline

◆ UnpackValue() [2/2]

template<class T , std::enable_if_t< is_string_convertible_v< T >, int > = 0>
T RE::BSScript::UnpackValue ( const Variable a_src)
inline

Variable Documentation

◆ defines_iterator_v

template<class T >
constexpr bool RE::BSScript::defines_iterator_v = defines_iterator<T>::value
inlineconstexpr

◆ defines_size_type_v

template<class T >
constexpr bool RE::BSScript::defines_size_type_v = defines_size_type<T>::value
inlineconstexpr

◆ defines_value_type_v

template<class T >
constexpr bool RE::BSScript::defines_value_type_v = defines_value_type<T>::value
inlineconstexpr

◆ implements_begin_v

template<class T >
constexpr bool RE::BSScript::implements_begin_v = implements_begin<T>::value
inlineconstexpr

◆ implements_end_v

template<class T >
constexpr bool RE::BSScript::implements_end_v = implements_end<T>::value
inlineconstexpr

◆ implements_push_back_v

template<class T >
constexpr bool RE::BSScript::implements_push_back_v = implements_push_back<T>::value
inlineconstexpr

◆ implements_size_v

template<class T >
constexpr bool RE::BSScript::implements_size_v = implements_size<T>::value
inlineconstexpr

◆ is_active_effect_pointer_v

template<class T >
constexpr bool RE::BSScript::is_active_effect_pointer_v = is_active_effect_pointer<T>::value
inlineconstexpr

◆ is_active_effect_v

template<class T >
constexpr bool RE::BSScript::is_active_effect_v = is_active_effect<T>::value
inlineconstexpr

◆ is_alias_pointer_v

template<class T >
constexpr bool RE::BSScript::is_alias_pointer_v = is_alias_pointer<T>::value
inlineconstexpr

◆ is_alias_v

template<class T >
constexpr bool RE::BSScript::is_alias_v = is_alias<T>::value
inlineconstexpr

◆ is_array_v

template<class T >
constexpr bool RE::BSScript::is_array_v = is_array<T>::value
inlineconstexpr

◆ is_boolean_v

template<class T >
constexpr bool RE::BSScript::is_boolean_v = is_boolean<T>::value
inlineconstexpr

◆ is_builtin_convertible_v

template<class T >
constexpr bool RE::BSScript::is_builtin_convertible_v = is_builtin_convertible<T>::value
inlineconstexpr

◆ is_builtin_v

template<class T >
constexpr bool RE::BSScript::is_builtin_v = is_builtin<T>::value
inlineconstexpr

◆ is_floating_point_convertible_v

template<class T >
constexpr bool RE::BSScript::is_floating_point_convertible_v = is_floating_point_convertible<T>::value
inlineconstexpr

◆ is_floating_point_v

template<class T >
constexpr bool RE::BSScript::is_floating_point_v = is_floating_point<T>::value
inlineconstexpr

◆ is_form_pointer_v

template<class T >
constexpr bool RE::BSScript::is_form_pointer_v = is_form_pointer<T>::value
inlineconstexpr

◆ is_form_v

template<class T >
constexpr bool RE::BSScript::is_form_v = is_form<T>::value
inlineconstexpr

◆ is_integer_v

template<class T >
constexpr bool RE::BSScript::is_integer_v = is_integer<T>::value
inlineconstexpr

◆ is_integral_convertible_v

template<class T >
constexpr bool RE::BSScript::is_integral_convertible_v = is_integral_convertible<T>::value
inlineconstexpr

◆ is_integral_v

template<class T >
constexpr bool RE::BSScript::is_integral_v = is_integral<T>::value
inlineconstexpr

◆ is_not_const_v

template<class T >
constexpr bool RE::BSScript::is_not_const_v = is_not_const<T>::value
inlineconstexpr

◆ is_not_pointer_v

template<class T >
constexpr bool RE::BSScript::is_not_pointer_v = is_not_pointer<T>::value
inlineconstexpr

◆ is_not_reference_v

template<class T >
constexpr bool RE::BSScript::is_not_reference_v = is_not_reference<T>::value
inlineconstexpr

◆ is_not_reference_wrapper_v

template<class T >
constexpr bool RE::BSScript::is_not_reference_wrapper_v = is_not_reference_wrapper<T>::value
inlineconstexpr

◆ is_not_volatile_v

template<class T >
constexpr bool RE::BSScript::is_not_volatile_v = is_not_volatile<T>::value
inlineconstexpr

◆ is_parameter_convertible_v

template<class T >
constexpr bool RE::BSScript::is_parameter_convertible_v = is_parameter_convertible<T>::value
inlineconstexpr

◆ is_reference_wrapper_v

template<class T >
constexpr bool RE::BSScript::is_reference_wrapper_v = is_reference_wrapper<T>::value
inlineconstexpr

◆ is_return_convertible_v

template<class T >
constexpr bool RE::BSScript::is_return_convertible_v = is_return_convertible<T>::value
inlineconstexpr

◆ is_signed_integral_convertible_v

template<class T >
constexpr bool RE::BSScript::is_signed_integral_convertible_v = is_signed_integral_convertible<T>::value
inlineconstexpr

◆ is_signed_integral_v

template<class T >
constexpr bool RE::BSScript::is_signed_integral_v = is_signed_integral<T>::value
inlineconstexpr

◆ is_static_base_pointer_v

template<class T >
constexpr bool RE::BSScript::is_static_base_pointer_v = is_static_base_pointer<T>::value
inlineconstexpr

◆ is_static_base_v

template<class T >
constexpr bool RE::BSScript::is_static_base_v = is_static_base<T>::value
inlineconstexpr

◆ is_string_convertible_v

template<class T >
constexpr bool RE::BSScript::is_string_convertible_v = is_string_convertible<T>::value
inlineconstexpr

◆ is_string_v

template<class T >
constexpr bool RE::BSScript::is_string_v = is_string<T>::value
inlineconstexpr

◆ is_unsigned_integral_convertible_v

template<class T >
constexpr bool RE::BSScript::is_unsigned_integral_convertible_v = is_unsigned_integral_convertible<T>::value
inlineconstexpr

◆ is_unsigned_integral_v

template<class T >
constexpr bool RE::BSScript::is_unsigned_integral_v = is_unsigned_integral<T>::value
inlineconstexpr

◆ is_valid_base_v

template<class T >
constexpr bool RE::BSScript::is_valid_base_v = is_valid_base<T>::value
inlineconstexpr

◆ is_valid_latent_return_v

template<class T >
constexpr bool RE::BSScript::is_valid_latent_return_v = is_valid_latent_return<T>::value
inlineconstexpr

◆ is_valid_latent_sig_v

template<class Int , class R , class Cls , class... Args>
constexpr bool RE::BSScript::is_valid_latent_sig_v = is_valid_latent_sig<Int, R, Cls, Args...>::value
inlineconstexpr

◆ is_valid_long_sig_v

template<class Int , class R , class Cls , class... Args>
constexpr bool RE::BSScript::is_valid_long_sig_v = is_valid_long_sig<Int, R, Cls, Args...>::value
inlineconstexpr

◆ is_valid_parameter_v

template<class T >
constexpr bool RE::BSScript::is_valid_parameter_v = is_valid_parameter<T>::value
inlineconstexpr

◆ is_valid_return_v

template<class T >
constexpr bool RE::BSScript::is_valid_return_v = is_valid_return<T>::value
inlineconstexpr

◆ is_valid_short_sig_v

template<class R , class Cls , class... Args>
constexpr bool RE::BSScript::is_valid_short_sig_v = is_valid_short_sig<R, Cls, Args...>::value
inlineconstexpr

◆ vm_type_v

template<class T >
constexpr TypeInfo::RawType RE::BSScript::vm_type_v = vm_type<T>::value
inlineconstexpr