Siv3D / OpenSiv3D

C++20 framework for creative coding 🎮🎨🎹 / Cross-platform support (Windows, macOS, Linux, and the Web)
https://siv3d.github.io/
MIT License
994 stars 136 forks source link

Multiplayer_Photonの状態識別関数の追加 #1235

Open comefrombottom opened 2 months ago

comefrombottom commented 2 months ago

追加する機能の内容 | Describe the solution you'd like サーバーに接続完了した状態であることを示すisConnected()(isActive()は接続中もtrueなため別) サーバーに接続中であることを示すisConnecting() ルームに接続中であることを示すisJoiningRoom() その機能の追加によって解決する問題 | Is your feature request related to a problem? Please describe. ルームに接続中であるかサーバーに接続中であるかを識別できるようになる。使い勝手がよくなる。 備考 | Additional context https://discord.com/channels/443310697397354506/999983621408567326/1253004334145212558

comefrombottom commented 1 month ago

ルームを退出中であることを示すisLeavingRoom() サーバー接続中であることを示すisDisconnecting()

ここまでくるとenum class を提供してもいい