This commit is contained in:
lenheart
2024-10-27 15:32:44 +08:00
parent e82c5ceee3
commit 6c71c79563
21 changed files with 846 additions and 253 deletions

View File

@@ -688,6 +688,25 @@ class ServerControl {
Socket.SendGateway(T);
}
};
Cb_GetUserInfo_Leave_Func.ServerControl <- function(args) {
if (args.pop() >= 0) {
local SUser = User(args[1]);
local Unid = NativePointer(args[2]).add(13).readShort();
local OtherUser = World.GetUserBySession(Unid);
if (OtherUser && SUser) {
local Jso = {
seeUid = SUser.GetUID(),
seeCid = SUser.GetCID(),
viewedUid = OtherUser.GetUID(),
viewedCid = OtherUser.GetCID(),
op = 20069009
}
Socket.SendGateway(Jso);
}
}
}
}
}