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 で特定のプレイヤーに sendEvent を送りたい #1170

Closed nokotan closed 7 months ago

nokotan commented 9 months ago

追加する機能の内容 | Describe the solution you'd like

Multiplayer_Photon::sendEvent を使うと、自分以外のすべてのプレイヤーに何らかのデータを送ることができる。 これに加え、Option<Array> を引数にとる Multiplayer_Photon::sendEvent のオーバーロードを追加する。

その機能の追加によって解決する問題 | Is your feature request related to a problem? Please describe.

現在特定のプレイヤーに sendEvent を送りたい場合、次のように実装する必要がある:

この機能追加によって、この手間を省くことができる。また、要求/応答の実装が簡単になる。

備考 | Additional context

Reputeless commented 7 months ago

ご提案ありがとうございます。開発中の v0.6.14 に実装しました。