parseResource static method

AsyncReply<IResource?> parseResource(
  1. DC data,
  2. int offset
)
Parse a resource Bytes array Zero-indexed offset.

Implementation

static AsyncReply<IResource?> parseResource(DC data, int offset) {
  return Warehouse.getById(data.getUint32(offset));
}