Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Sharing game data between rooms

$
0
0
I want to load the game data (Skill and character balance data and other static data) that is shared between rooms from a redis server. Since Plugins are per-room instances, where should I put that code? (my current temporary solution is making it static and loading when the first plugin instance is created).

Is there an action/message/hook I can subscribe to that it's called when the server is initialized or something like that?

Thanks.

Viewing all articles
Browse latest Browse all 1557

Trending Articles