mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 15:01:37 -04:00
23 lines
332 B
C++
23 lines
332 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
struct ActorRef {
|
|
/* 0 */ s32 id;
|
|
/* 4 */ s32 index;
|
|
/* 8 */
|
|
|
|
inline ActorRef() {
|
|
Reset();
|
|
}
|
|
inline ActorRef(s32 id, s32 index) :
|
|
id(id),
|
|
index(index) {}
|
|
|
|
inline void Reset() {
|
|
id = -1;
|
|
index = -1;
|
|
}
|
|
};
|