Tramway SDK
Public Member Functions | Public Attributes | List of all members
tram::Ext::Kitchensink::AttributeContainer Struct Reference

#include <attributes.h>

Public Member Functions

float GetAttribute (name_t attribute)
 
float GetBaseAttribute (name_t attribute)
 
void SetAttribute (name_t attribute, float value)
 
void ApplyModifier (AttributeModifier modifier)
 
void RemoveModifier (name_t tag)
 
bool HasAttribute (name_t type)
 
void Tick ()
 

Public Attributes

std::vector< Attributeattributes
 
std::vector< AttributeModifiermodifiers
 

Member Function Documentation

◆ ApplyModifier()

void tram::Ext::Kitchensink::AttributeContainer::ApplyModifier ( AttributeModifier  modifier)

◆ GetAttribute()

float tram::Ext::Kitchensink::AttributeContainer::GetAttribute ( name_t  attribute)

◆ GetBaseAttribute()

float tram::Ext::Kitchensink::AttributeContainer::GetBaseAttribute ( name_t  attribute)

◆ HasAttribute()

bool tram::Ext::Kitchensink::AttributeContainer::HasAttribute ( name_t  type)

◆ RemoveModifier()

void tram::Ext::Kitchensink::AttributeContainer::RemoveModifier ( name_t  tag)

◆ SetAttribute()

void tram::Ext::Kitchensink::AttributeContainer::SetAttribute ( name_t  attribute,
float  value 
)

◆ Tick()

void tram::Ext::Kitchensink::AttributeContainer::Tick ( )

Member Data Documentation

◆ attributes

std::vector<Attribute> tram::Ext::Kitchensink::AttributeContainer::attributes

◆ modifiers

std::vector<AttributeModifier> tram::Ext::Kitchensink::AttributeContainer::modifiers

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