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

How to get data saved on master server from a plugin?

$
0
0
Hello, I want to create a card game and store all information about each card on the mysql server. So the idea is my photon server at the start of running (MasterServer) connects to this db and saves all the informations into memory and i want to be able to access this data from the plugin position. The question is how can i get this data stored in MasterServer for each room (plugin), and is it safe (and possible) if multiple plugins will read at the same time from same object. Alternative solution would be plugin connects to db but it's super waste and i have to avoid it. Thanks for all answers.

Viewing all articles
Browse latest Browse all 1557

Trending Articles