Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <reference path="battleinf.d.ts" />
- declare module API {
- module inventory {
- function sell(item: Item, callback?: Function);
- function lock(item: Item);
- function unlock(item: Item);
- function equip(item: Item, callback?: Function);
- function unequip(item: Item, callback?: Function);
- function craft(primaryItem: Item, consumedItem: Item, callback?: Function);
- }
- module market {
- function addToMarket(item: Item, callback?: Function);
- function removeFromMarket(item: Item, callback?: Function)
- }
- module notifications {
- function create(text: string, timeout?: number);
- function sendReminder(message: string);
- }
- }
- declare var items: Array<Item>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement