This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+46
View File
@@ -0,0 +1,46 @@
#pragma once
#include "Reflection/Property.h"
#include "V8Xml/Reference.h"
#include "V8Xml/XmlElement.h"
#include "Util/Object.h"
#include "G3D/Vector3.h"
#include "G3D/Color3.h"
#include <string>
#include <iostream>
#include <vector>
namespace RBX {
class PropertyChanged
{
RBX::Reflection::Property property;
public:
const RBX::Reflection::Property& getProperty() const { return property; }
const RBX::Reflection::PropertyDescriptor& getDescriptor() const { return property.getDescriptor(); }
const RBX::Name& getName() { return property.getName(); }
PropertyChanged(const PropertyChanged& other)
: property(other.property)
{}
private:
friend class Instance;
PropertyChanged(const RBX::Reflection::Property& p)
: property(p)
{}
};
// TODO: Move this out of Reflection?
// Some standard categories
#define category_Data "Data"
#define category_Behavior "Behavior"
#define category_State "State"
#define category_Appearance "Appearance"
#define category_Team "Team"
#define category_Image "Image"
#define category_Video "Video"
#define category_Control "Control"
}