增加文档

This commit is contained in:
2025-10-18 15:49:45 +08:00
parent a9b10b88c0
commit a753cf4998
7 changed files with 106 additions and 88 deletions

View File

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