diff --git a/libs/main/console/piscreentypes.h b/libs/main/console/piscreentypes.h index cce0e6fd..0409cd0d 100644 --- a/libs/main/console/piscreentypes.h +++ b/libs/main/console/piscreentypes.h @@ -25,6 +25,7 @@ #include "pip_console_export.h" #include "pivariant.h" +#include "pivariantsimple.h" class PIScreenTile; @@ -145,5 +146,6 @@ inline PIByteArray & operator >>(PIByteArray & s, PIScreenTypes::Cell & v) {s >> inline PIByteArray & operator <<(PIByteArray & s, const PIScreenTypes::TileEvent & v) {s << v.type << v.data; return s;} inline PIByteArray & operator >>(PIByteArray & s, PIScreenTypes::TileEvent & v) {s >> v.type >> v.data; return s;} +REGISTER_PIVARIANTSIMPLE(PIScreenTypes::TileEvent) #endif // PISCREENTYPES_H