房间内显示房间信息

This commit is contained in:
MrZ626
2021-05-04 18:01:25 +08:00
parent f68aa26278
commit 1c342d0327
4 changed files with 37 additions and 15 deletions

View File

@@ -258,6 +258,14 @@ function scene.draw()
mStr(text.ready,640,10)
end
--Room info.
gc.setColor(1,1,1)
setFont(25)
mStr(NET.roomInfo.name,640,685)
setFont(40)
gc.print(netPLY.getCount().."/"..NET.roomInfo.capacity,70,655)
if NET.roomInfo.private then gc.draw(IMG.lock,30,668)end
--Profile
drawSelfProfile()
end