UNPKG

@ariusii/intersect.ts

Version:

The Intersect Engine API Client Library based on TS.

33 lines 1.44 kB
/** * This is the GameObjects Class, it contains all the methods to handle Game Object's. * Those actions do not require any Query Role. * @class Chat * @link https://docs.freemmorpgmaker.com/en-US/api/v1/endpoints/gameobjects.html * @author AriusII */ export declare class GameObjects { private _url; private _token; constructor(_url: string, _token: string); /** * Grabs a list of game objects and their stored information from the server given it's type and paging information. * @param type - The KEY type of object you want to get. (Check official doc'.) * @param page - The page you want to get. * @param count - The number of objects you want to get. * @returns - The response from the server. */ getList(type: string, page: number, count: number): Promise<any>; /** * It retrieves the config for a singular game object from the server given it's type and id. * @param type - The KEY type of object you want to get. (Check official doc'.) * @param id - The id of the object you want to get. * @returns - The response from the server. */ getObject(type: string, id: string): Promise<any>; /** * It retrieves the servers timing configuration and color hues for each time of day. * @returns - The response from the server. */ getTime(): Promise<any>; } //# sourceMappingURL=gameobjects.d.ts.map