typedef Component Super;
public:
- static const int typeKey = 45;
+ static const uint16_t typeKey = 45;
/// Helper to quickly determine if a core object extends another without
/// RTTI at runtime.
- bool isTypeOf(int typeKey) const override
+ bool isTypeOf(uint16_t typeKey) const override
{
switch (typeKey)
{
}
}
- int coreType() const override { return typeKey; }
+ uint16_t coreType() const override { return typeKey; }
- static const int valuesPropertyKey = 102;
- static const int indicesPropertyKey = 103;
+ static const uint16_t valuesPropertyKey = 102;
+ static const uint16_t indicesPropertyKey = 103;
private:
int m_Values = 255;
indicesChanged();
}
- bool deserialize(int propertyKey, BinaryReader& reader) override
+ bool deserialize(uint16_t propertyKey, BinaryReader& reader) override
{
switch (propertyKey)
{