11
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user