Files

21 lines
310 B
C++
Raw Permalink Normal View History

2024-04-14 11:27:14 +02:00
#pragma once
#include "global.h"
#include "types.h"
struct ActorRef {
/* 0 */ s32 id;
/* 4 */ s32 index;
/* 8 */
2024-05-19 10:49:14 +02:00
2025-02-09 09:38:23 +01:00
inline ActorRef() {}
2024-10-12 16:16:32 +02:00
inline ActorRef(s32 id, s32 index) :
2024-05-25 23:15:25 +02:00
id(id),
2024-10-12 16:16:32 +02:00
index(index) {}
2024-05-25 23:15:25 +02:00
2024-05-23 19:31:57 +02:00
inline void Reset() {
2024-10-12 16:16:32 +02:00
id = -1;
2024-05-19 10:49:14 +02:00
index = -1;
}
2024-04-14 11:27:14 +02:00
};