mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 08:17:03 +00:00
New code style refactor
This commit is contained in:
@@ -5,26 +5,23 @@
|
||||
#include "RetroTypes.hpp"
|
||||
#include "World/ScriptObjectSupport.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
struct SConnection
|
||||
{
|
||||
EScriptObjectState x0_state;
|
||||
EScriptObjectMessage x4_msg;
|
||||
TEditorId x8_objId;
|
||||
namespace urde {
|
||||
struct SConnection {
|
||||
EScriptObjectState x0_state;
|
||||
EScriptObjectMessage x4_msg;
|
||||
TEditorId x8_objId;
|
||||
};
|
||||
|
||||
class CEntityInfo
|
||||
{
|
||||
TAreaId x0_areaId;
|
||||
std::vector<SConnection> x4_conns;
|
||||
TEditorId x14_editorId;
|
||||
class CEntityInfo {
|
||||
TAreaId x0_areaId;
|
||||
std::vector<SConnection> x4_conns;
|
||||
TEditorId x14_editorId;
|
||||
|
||||
public:
|
||||
CEntityInfo(TAreaId aid, const std::vector<SConnection>& conns, TEditorId eid = kInvalidEditorId)
|
||||
: x0_areaId(aid), x4_conns(conns), x14_editorId(eid) {}
|
||||
TAreaId GetAreaId() const {return x0_areaId;}
|
||||
std::vector<SConnection> GetConnectionList() const { return x4_conns; }
|
||||
TEditorId GetEditorId() const { return x14_editorId; }
|
||||
CEntityInfo(TAreaId aid, const std::vector<SConnection>& conns, TEditorId eid = kInvalidEditorId)
|
||||
: x0_areaId(aid), x4_conns(conns), x14_editorId(eid) {}
|
||||
TAreaId GetAreaId() const { return x0_areaId; }
|
||||
std::vector<SConnection> GetConnectionList() const { return x4_conns; }
|
||||
TEditorId GetEditorId() const { return x14_editorId; }
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user