1#include <Cyrus/Classes/Window.h>
2#include <Cyrus/shared.h>
16 std::unordered_set<PropertyClass *>
43 CYRUS std::vector<PropertyClass *>
96#define FIND_SINGLE(t) Cyrus::classes.waitForClass(#t, 1000)->as<t>();
CYRUS std::vector< PropertyClass * > findAllByClassName(const std::string &className)
Finds all PropertyClass objects with the given class name.
Definition storage.cpp:30
CYRUS PropertyClass * findByClassName(const std::string &className)
Finds a PropertyClass by its class name.
Definition storage.cpp:15
CYRUS void debugWriteToFile(const std::string &filename)
Writes the details of all PropertyClass objects to a file for debugging.
Definition storage.cpp:61
CYRUS PropertyClass * waitForClass(const std::string &className, int timeout=5000)
Waits for a PropertyClass with the given class name to be available.
Definition storage.cpp:45
CYRUS void addPropertyClass(PropertyClass *propClass)
Definition storage.cpp:5
CYRUS void removePropertyClass(PropertyClass *propClass)
Definition storage.cpp:10
CYRUS std::unordered_map< std::string, int > getAllClasses()
Definition storage.cpp:75
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45
PropClassStorage classes
An external declaration of the PropClassStorage object.
Definition storage.cpp:84
void(* WindowUpdateCallback)(Window *root)
Definition storage.h:98
std::vector< WindowUpdateCallback > windowUpdateCallbacks
Definition storage.cpp:85
void addWindowUpdateCallback(WindowUpdateCallback callback)
Adds a callback for the Window update thread. This callback function garuntees that your Window chang...
Definition storage.cpp:87