更新定义
This commit is contained in:
parent
f204c3e7f1
commit
e1b89115c8
111
src/fcm/jcfcm.d.ts
vendored
111
src/fcm/jcfcm.d.ts
vendored
@ -1,60 +1,63 @@
|
||||
// Type definitions for ./src/fcm/jcfcm.js
|
||||
// Project: [LIBRARY_URL_HERE]
|
||||
// Definitions by: [YOUR_NAME_HERE] <[YOUR_URL_HERE]>
|
||||
// Project: [LIBRARY_URL_HERE]
|
||||
// Definitions by: [YOUR_NAME_HERE] <[YOUR_URL_HERE]>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
declare namespace FCMOnline{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export var off_line : boolean;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export var fang_chen_mi : boolean;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export var game_duration : number;
|
||||
|
||||
/**
|
||||
* 在线时间计时
|
||||
*/
|
||||
function onLineTime(): void;
|
||||
|
||||
/**
|
||||
* 是否满累计时间
|
||||
* @return
|
||||
*/
|
||||
function isMaxTime(): boolean;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param game_duration
|
||||
* @param cb
|
||||
*/
|
||||
function onLineTimeCb(game_duration : any, cb : any): void;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param age
|
||||
*/
|
||||
function setAge(age : any): void;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ismax
|
||||
*/
|
||||
function fcmNotify(ismax : any): void;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function offLine(): void;
|
||||
declare namespace cc {
|
||||
namespace online{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export var off_line : boolean;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export var fang_chen_mi : boolean;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export var game_duration : number;
|
||||
|
||||
/**
|
||||
* 在线时间计时
|
||||
*/
|
||||
function onLineTime(): void;
|
||||
|
||||
/**
|
||||
* 是否满累计时间
|
||||
* @return
|
||||
*/
|
||||
function isMaxTime(): boolean;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param game_duration
|
||||
* @param cb
|
||||
*/
|
||||
function onLineTimeCb(game_duration : any, cb : any): void;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param age
|
||||
*/
|
||||
function setAge(age : any): void;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ismax
|
||||
*/
|
||||
function fcmNotify(ismax : any): void;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function offLine(): void;
|
||||
}
|
||||
}
|
||||
|
||||
|
2033
src/jcfw.d.ts
vendored
2033
src/jcfw.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user