dp-s_doc/Update/Update.md

101 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 更新 文档
**20240914**
### 新增四个回调接口
`判断玩家城镇移动 获取地下城通关难度 锻造过程 购买商城物品`
---
**20240916**
### 新增SUser 接口
`获取玩家账号金库`
### 账号金库 类
`获取空格子 存储物品 刷新列表`
### 例子
`跨界石`
---
**20240917**
### 新增Memory 类
`Memory`
### NativePointer 类
`NativePointer`
### 例子
`融合石`
---
**20240918**
### 新增SUser 接口
`发送自定义文本弹窗公告(需要客户端修复233包补丁)`
### 新增NativePointer类 接口
`readPointer`
### 新增GameManager类 接口
`SetGameMaxLevel` 设置游戏最大等级
`SetItemLockTime` 设置装备解锁需要时间
### 新增入口函数sqr_main 函数
```
function sqr_main()
{
print("插件已加载");
}
```
`-服务端将在初始化完毕以后调用sqr_main 函数`
---
**20240920**
### 新增IO 类
### 新增MD5 类
### 新增Mysql 类
### 新增Timer 类
---
**20241023**
### 新增HTTP 类
### 新增BlobEx 类
### 新增ScriptData 类
### 新增AdMsg 类
### Item 类
`新增部分接口`
### 新增Hook接口若干
### 新增简繁转化接口
```
local Trad = Sq_Conversion("這是繁體語句", 0);
local Simple = Sq_Conversion("这是简体语句", 1);
print(Trad);
print(Simple);
```
### 新增获取毫秒级时间戳接口
```
Sq_GetTimestampString();
```