修改ui样式
This commit is contained in:
25
FGUIProject/plugins/whoot-tween/puerts.d.ts
vendored
Normal file
25
FGUIProject/plugins/whoot-tween/puerts.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
declare module "puerts" {
|
||||
import {$Ref, $Task, System} from "csharp"
|
||||
|
||||
function $ref<T>(x? : T) : $Ref<T>;
|
||||
|
||||
function $unref<T>(x: $Ref<T>) : T;
|
||||
|
||||
function $set<T>(x: $Ref<T>, val:T) : void;
|
||||
|
||||
function $promise<T>(x: $Task<T>) : Promise<T>;
|
||||
|
||||
function $generic<T extends new (...args:any[]) => any> (genericType :T, ...genericArguments: (new (...args:any[]) => any)[]) : T;
|
||||
|
||||
function $typeof(x : new (...args:any[]) => any) : System.Type;
|
||||
|
||||
function $extension(c : Function, e: Function) : void;
|
||||
|
||||
function on(eventType: string, listener: Function, prepend?: boolean) : void;
|
||||
|
||||
function off(eventType: string, listener: Function) : void;
|
||||
|
||||
function emit(eventType: string, ...args:any[]) : boolean;
|
||||
}
|
||||
|
||||
declare function require(name: string): any;
|
||||
Reference in New Issue
Block a user