add avatar invalidate tag
This commit is contained in:
parent
86426781d0
commit
738d2abe7b
@ -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<uint8_t> data;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user