import { BaseUniverse } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/classes/opencloud/bases/BaseUniverse.ts";
Base Universe class for Open Cloud.
Constructors
new
BaseUniverse(client: OpenCloudClient, universeId: number)Construct a new BaseUniverse
Properties
private
readonly
_client: OpenCloudClientThe client to use services from.
Methods
getBasePlace(placeId: number): BasePlace
Get a sub base place within the universe.
getStandardDataStore(dataStoreName: string, scope?): StandardDataStore
Gets a standard DataStore by the name and scope.
listStandardDataStores(): ServicePage<OpenCloudClient["services"]["opencloud"]["DataStoreService"]["listDataStores"], StandardDataStoreKeyInfo[]>
prefix?: string,
limit?: number,
cursor?: string,
Lists Standard datastores by prefix
.
postMessage(topicName: string, data: unknown): Promise<void>
Post a message to a MessagingService topicName.