Last active
April 14, 2017 04:54
-
-
Save jwulf/eb77162ce3d0cab149b2e83fb52a1412 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// filename: ambient-declarations | |
declare namespace magikcraft.io { | |
export function getPlugin(): any; | |
export function getSender(): any; | |
export function setTimeout(fn: Function, ms: number): number | |
export function clearTimeout(handle: number); | |
export function doNTimes(fn: Function, numberOfTimes: number, callbackFn?: Function, delayms?: number); | |
} | |
declare namespace template { | |
/** | |
* The greet function is a Hello World example | |
*/ | |
export function greet(name: string): void; | |
} | |
declare const module; | |
declare const Java; | |
declare const load; | |
declare const require; | |
declare const __magikcraft-sitapati-camera-path: any[]; | |
declare namespace MagikCraftAPI { | |
export function setMappedItem(APIKEY: string, ItemKey: string, ItemValue: any): void; | |
export function getMappedItem(APIKEY: string, ItemKey: string): any; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment