更新定义

This commit is contained in:
zhl 2020-12-29 17:45:36 +08:00
parent f204c3e7f1
commit e1b89115c8
2 changed files with 1039 additions and 1105 deletions

111
src/fcm/jcfcm.d.ts vendored
View File

@ -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

File diff suppressed because it is too large Load Diff