rl-loadout-lib
Version:
Load Rocket League assets into three.js
26 lines • 738 B
TypeScript
import { Body } from '../model/body';
import { Wheel } from '../model/wheel';
import { Decal } from '../model/decal';
/**
* Service for interacting with the rocket loadout backend.
*/
export declare class RocketLoadoutService {
private readonly baseUrl;
constructor(host?: string);
/**
* GET the body at <host>/bodies/<id>.
* @param id in-game body id
*/
getBody(id: number): Promise<Body>;
/**
* GET the wheel at <host>/wheels/<id>.
* @param id in-game wheel id
*/
getWheel(id: number): Promise<Wheel>;
/**
* GET the decal at <host>/decals/<id>.
* @param id in-game decal id
*/
getDecal(id: number): Promise<Decal>;
}
//# sourceMappingURL=rl-service.d.ts.map