增加文档
This commit is contained in:
@@ -3,36 +3,36 @@
|
||||
* @param {*} Object
|
||||
*/
|
||||
class CharacterObject extends ActiveObject {
|
||||
constructor(Object) {
|
||||
base.constructor(Object);
|
||||
}
|
||||
constructor(Object) {
|
||||
base.constructor(Object)
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @function
|
||||
* @returns {*}
|
||||
*/
|
||||
function GetState() {
|
||||
return sq_GetState(C_Object);
|
||||
}
|
||||
/**
|
||||
* 获取状态
|
||||
* @function
|
||||
* @returns {integer} 状态编号
|
||||
*/
|
||||
function GetState() {
|
||||
return sq_GetState(C_Object)
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @function
|
||||
* @param {integer} State
|
||||
* @returns {void}
|
||||
*/
|
||||
function SetState(State) {
|
||||
sq_SetState(C_Object, State);
|
||||
}
|
||||
/**
|
||||
* 设置状态
|
||||
* @function
|
||||
* @param {integer} State
|
||||
* @returns {void}
|
||||
*/
|
||||
function SetState(State) {
|
||||
sq_SetState(C_Object, State)
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @function
|
||||
* @param {any} key
|
||||
* @returns {void}
|
||||
*/
|
||||
function SetAction(key) {
|
||||
sq_SetAction(C_Object, key);
|
||||
}
|
||||
/**
|
||||
* 设置动作
|
||||
* @function
|
||||
* @param {string} key
|
||||
* @returns {void}
|
||||
*/
|
||||
function SetAction(key) {
|
||||
sq_SetAction(C_Object, key)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user