mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 15:47:43 +00:00
Script Object DNAs
This commit is contained in:
35
DataSpec/DNAMP1/ScriptObjects/IScriptObject.hpp
Normal file
35
DataSpec/DNAMP1/ScriptObjects/IScriptObject.hpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef __DNAMP1_SCRIPTOBJECT_HPP
|
||||
#define __DNAMP1_SCRIPTOBJECT_HPP
|
||||
#include "../../DNACommon/DNACommon.hpp"
|
||||
#include <stdio.h>
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
namespace DNAMP1
|
||||
{
|
||||
struct IScriptObject : BigYAML
|
||||
{
|
||||
DECL_YAML
|
||||
IScriptObject() {}
|
||||
atUint32 type;
|
||||
Value<atUint32> id;
|
||||
struct Connection : BigYAML
|
||||
{
|
||||
DECL_YAML
|
||||
Value<atUint32> state;
|
||||
Value<atUint32> msg;
|
||||
Value<atUint32> target;
|
||||
|
||||
};
|
||||
|
||||
Value<atUint32> connectionCount;
|
||||
Vector<Connection, DNA_COUNT(connectionCount)> connections;
|
||||
Value<atUint32> propertyCount;
|
||||
virtual ~IScriptObject()
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user