#ifndef GODOT_VARIANT_H_84682779 #define GODOT_VARIANT_H_84682779 #include #include #include #include #include #include struct GodotVariant { using variant_type = std::variant, std::vector >; variant_type value; GodotVariant(int32_t v) : value(v) {} GodotVariant(std::string v) : value(std::move(v)) {} GodotVariant(std::map v) : value(std::move(v)) {} GodotVariant(std::vector v) : value(std::move(v)) {} bool operator<(const GodotVariant& rhs) const; void Serialize(std::basic_ostream& output) const; }; #endif /* end of include guard: GODOT_VARIANT_H_84682779 */