Type alias CachedObject<T>
CachedObject<T>: Partial<T> & {
id: Id<T>;
pos: RoomPosition;
room?: undefined;
} & Tag.OpaqueTag<"CachedObject">
Type Parameters
-
T extends CacheableObject
Type declaration
-
id: Id<T>
-
pos: RoomPosition
-
Optional
room?: undefined
A partially cached RoomObject with Id