33 lines
934 B
Plaintext
33 lines
934 B
Plaintext
/*
|
|
文件名:Send_Area_User.nut
|
|
路径:CallBack/Send_Area_User.nut
|
|
创建日期:2024-04-08 10:09
|
|
文件用途:给区域里刷新玩家 hook
|
|
*/
|
|
Send_Area_User_FuncMap <- {};
|
|
|
|
function Cb_send_area_user(C_Area, C_User) {
|
|
// if (!CUser) return;
|
|
// local SUser = User(CUser);
|
|
|
|
// //如果加载了超时空
|
|
// if (getroottable().rawin(Fiendwar)) {
|
|
// //超时空频道
|
|
// if (Sq_Game_GetConfig().find("20") != -1) {
|
|
// if (AreaIndex <= 1) {
|
|
// return true;
|
|
// } else {
|
|
// local Jso = {
|
|
// op = 20063025,
|
|
// uid = SUser.GetUID(),
|
|
// cid = SUser.GetCID(),
|
|
// regionId = AreaIndex
|
|
// }
|
|
// Sq_SendPack(Json.Encode(Jso));
|
|
// return false;
|
|
// }
|
|
// } else {
|
|
// return true;
|
|
// }
|
|
// }
|
|
} |