mirror of
https://github.com/encounter/ph.git
synced 2026-03-30 11:34:37 -07:00
21 lines
310 B
C++
21 lines
310 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
struct ActorRef {
|
|
/* 0 */ s32 id;
|
|
/* 4 */ s32 index;
|
|
/* 8 */
|
|
|
|
inline ActorRef() {}
|
|
inline ActorRef(s32 id, s32 index) :
|
|
id(id),
|
|
index(index) {}
|
|
|
|
inline void Reset() {
|
|
id = -1;
|
|
index = -1;
|
|
}
|
|
};
|