• Try to get real RoomObject from cached one.

    Type Parameters

    • T extends RoomObject & _HasId<T>

    Parameters

    • o: T | Partial<T> & {
          id: Id<T>;
          pos: RoomPosition;
          room?: undefined;
      } & OpaqueTag<"CachedObject"> & {
          id: Id<T>;
      }

      object to restore

    Returns null | T

    real RoomObject or null

Generated using TypeDoc