init
This commit is contained in:
42
structs/PlayerFeat.d.ts
vendored
Normal file
42
structs/PlayerFeat.d.ts
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* a player feature
|
||||
* @public
|
||||
*/
|
||||
declare class PlayerFeat {
|
||||
|
||||
/**
|
||||
* only for testing,
|
||||
*
|
||||
* @param type "debug"
|
||||
*
|
||||
* @example
|
||||
*
|
||||
* new Feat("debug")
|
||||
*
|
||||
*/
|
||||
constructor(type: "debug");
|
||||
|
||||
readonly feats: Feat[];
|
||||
|
||||
readonly id: number;
|
||||
|
||||
readonly parent_id: number;
|
||||
|
||||
/**
|
||||
* deprecated
|
||||
*/
|
||||
public get threaded(): boolean;
|
||||
public set threaded(threaded: boolean);
|
||||
|
||||
/**
|
||||
* Make sure you set the renderer with the PlayerFeat function, and not the Feat function. Otherwise the handler will not receive the player id in the second param.
|
||||
*
|
||||
* @privateRemarks
|
||||
*
|
||||
* it's only defined as `any` because I don't understand the d3d handler function enough
|
||||
*
|
||||
*/
|
||||
public get renderer(): any;
|
||||
public set renderer(renderer: any);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user