增加文档

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

@@ -11,16 +11,16 @@ class BaseObject {
}
/**
*
* 获取坐标
* @function
* @returns {any}
*/
function GetPosition() {
return sq_GetPosition(C_Object);
}
//
/**
*
* 设置坐标
* @function
* @param {integer} x
* @param {integer} y
@@ -32,22 +32,22 @@ class BaseObject {
}
/**
*
* 获取储存器
* @function
* @param {string} Name
* @param {any} Type
* @returns {any}
* @param {string} Type
* @returns {array}
*/
function GetVars(Name, Type) {
return sq_GetVars(C_Object, Name, Type);
}
/**
*
* 设置储存器
* @function
* @param {string} Name
* @param {any} Type
* @param {any} Value
* @param {array} Value
* @returns {void}
*/
function SetVars(Name, Type, Value) {
@@ -55,7 +55,7 @@ class BaseObject {
}
/**
*
* 获取方向
* @function
* @returns {integer}
*/
@@ -64,7 +64,7 @@ class BaseObject {
}
/**
*
* 设置方向
* @function
* @param {integer} Dir
* @returns {void}