diff --git a/solanaceae/contact/components.hpp b/solanaceae/contact/components.hpp index 5828f55..f55d803 100644 --- a/solanaceae/contact/components.hpp +++ b/solanaceae/contact/components.hpp @@ -45,6 +45,9 @@ namespace Contact::Components { // (display)alias + // tag to signify a avatar change, and the texture needs to be reloaded + struct TagAvatarInvalidate {}; + struct AvatarMemory { // RGBA std::vector data; diff --git a/solanaceae/contact/components_id.inl b/solanaceae/contact/components_id.inl index 32f9e58..c9eea7b 100644 --- a/solanaceae/contact/components_id.inl +++ b/solanaceae/contact/components_id.inl @@ -22,6 +22,7 @@ DEFINE_COMP_ID(Contact::Components::Parent) DEFINE_COMP_ID(Contact::Components::ParentOf) DEFINE_COMP_ID(Contact::Components::ContactModel) DEFINE_COMP_ID(Contact::Components::Name) +DEFINE_COMP_ID(Contact::Components::TagAvatarInvalidate) DEFINE_COMP_ID(Contact::Components::AvatarMemory) DEFINE_COMP_ID(Contact::Components::AvatarFile) DEFINE_COMP_ID(Contact::Components::ConnectionState)