This commit is contained in:
2025-03-23 10:51:55 +00:00
commit f11a45c8f9
94 changed files with 5026 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# Reach_Game_World 回调函数文档
**回调说明**
`Reach_Game_World`类用于处理游戏中的玩家上线事件。
---
**注册方法**
- `Cb_reach_game_world_Func.rawset(Key,Function)`
**例子**
```squirrel
function Test_Function(SUser)
{
print("上线");
}
Cb_reach_game_world_Func.rawset("Test", Test_Function);
```
or
```squirrel
function Test_Function(SUser)
{
print("上线");
}
Cb_reach_game_world_Func.Test <- Test_Function;
```
or
```squirrel
function Test_Function(SUser)
{
print("上线");
}
Cb_reach_game_world_Func["Test"] <- Test_Function;
```
or
```squirrel
Cb_reach_game_world_Func.Test <- function (SUser)
{
print("上线");
};
```