Siv3D / OpenSiv3D

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

Multiplayer_Photon で joinRoomReturn が呼ばれない #1169

Closed nokotan closed 7 months ago

nokotan commented 9 months ago

予期しない動作の内容 | Describe the unexpected behavior

class Multiplayer_Photon を継承したクラスで、部屋に参加した時のコールバック関数である joinRoomReturn を定義しても、この間数が呼ばれることがない。

再現方法 | To Reproduce

https://zenn.dev/reputeless/scraps/03d951dddb53ab の手順に加え、次の関数を定義する

void joinRoomReturn(LocalPlayerID localPlayerID, int32 errorCode, const String& errorString) override
{
}

発生環境(デスクトップの場合) | Desktop (please complete the following information):

発生環境(モバイルの場合) | Smartphone (please complete the following information):

備考 | Additional context

おそらく class Multiplayer_Photon::PhotonDetail の joinRoomReturn 実装漏れが原因

Reputeless commented 7 months ago

ご報告ありがとうございます。開発中の v0.6.14 で修正完了しました。