联网对战(初版,不可用)

This commit is contained in:
MrZ626
2021-01-29 01:28:55 +08:00
parent c8f4faaa95
commit 2cc74ea946
7 changed files with 167 additions and 84 deletions

View File

@@ -332,10 +332,12 @@ function PLY.newDemoPlayer(id)
}
P:popNext()
end
function PLY.newRemotePlayer(id,mini)
function PLY.newRemotePlayer(id,mini,userInfo)
local P=newEmptyPlayer(id,mini)
P.type="remote"
P.update=PLY.update.remote_alive
P.userName=userInfo.name
P.userID=userInfo.id
P.stream={}
P.streamProgress=1