UNPKG

rl-loadout-lib

Version:

Load Rocket League assets into three.js

26 lines 1.09 kB
import { BMLoadout } from './model'; export declare const CURRENT_LOADOUT_VERSION = 2; export declare const SLOT_BODY = 0; export declare const SLOT_SKIN = 1; export declare const SLOT_WHEELS = 2; export declare const SLOT_BOOST = 3; export declare const SLOT_ANTENNA = 4; export declare const SLOT_HAT = 5; export declare const SLOT_PAINTFINISH = 7; export declare const SLOT_PAINTFINISH_SECONDARY = 12; export declare const SLOT_ENGINE_AUDIO = 13; export declare const SLOT_SUPERSONIC_TRAIL = 14; export declare const SLOT_GOALEXPLOSION = 15; /** * Encode a loadout into a string that can be loaded into bakkesmod's item mod. * @param loadout loadout to encode */ export declare function encodeLoadout(loadout: BMLoadout): string; /** * Decode a bakkesmod item mod string. * @param loadoutString bakkes item mod string * @param verify if true, the string is verified and an error is thrown if the verification fails * @throws Error verification failed */ export declare function decodeLoadout(loadoutString: string, verify?: boolean): BMLoadout; //# sourceMappingURL=loadout.d.ts.map