2022-03-27 06:49:41 +00:00
|
|
|
local ServerPlayer = Player:subclass("ServerPlayer")
|
2022-03-25 04:28:07 +00:00
|
|
|
|
2022-03-27 06:49:41 +00:00
|
|
|
function ServerPlayer:initialize(_self)
|
|
|
|
Player.initialize(self)
|
|
|
|
self.serverplayer = _self
|
|
|
|
end
|
|
|
|
|
|
|
|
function ServerPlayer:getId()
|
|
|
|
return self.serverplayer:getId()
|
|
|
|
end
|
|
|
|
|
2022-03-28 14:24:30 +00:00
|
|
|
function ServerPlayer:doNotify(command, jsonData)
|
|
|
|
self.serverplayer:doNotify(command, jsonData)
|
|
|
|
end
|
|
|
|
|
|
|
|
function ServerPlayer:doRequest(command, jsonData, timeout)
|
|
|
|
self.serverplayer:doRequest(command, jsonData, timeout)
|
|
|
|
end
|
|
|
|
|
2022-03-27 06:49:41 +00:00
|
|
|
return ServerPlayer
|