Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lockstepserver里的onclose方法调用时机 #15

Open
ayamzh opened this issue Jul 31, 2023 · 1 comment
Open

lockstepserver里的onclose方法调用时机 #15

ayamzh opened this issue Jul 31, 2023 · 1 comment

Comments

@ayamzh
Copy link

ayamzh commented Jul 31, 2023

在客户端连上来后发起MSG_Connect消息后,conn里得callback被room的callback接管了,之后用户断开连接,也无法执行lockstepserver里得onclose方法来修正人数

@byebyebruce
Copy link
Owner

这个无所谓的,要统计人数可以累加room的player number。正常来说只要连进来就应该是所属某个房间的,进不去房间的说明是非法的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants