I'm trying to figure out if i'm on the right track here with some functionality i'm trying to work out.
Basically I have an event that a client calls that adds an item to my "world map." This event simply takes in some parameters and then writes to a collection in the runtime database. Then once that happens i'd like to "broadcast" this event to all connected users.
my goal here is to keep the broadcasting centralized in an event in that not just my primary game client will be adding items to the "world map" but i have an admin app (written in JS) that will be adding items as well.
Is this even possible? I haven't seen anything directly in the documentation like this, but I'm still pretty new to GS.
Right i was considering this a "pull" versus a "push" or more accurately a poll :)
my only fear is that the fidelity won't be there. You are correct, this "world map" is a global entry that represents players and items in the world, and things may come and go based on game mechanics.
I'm used to using systems like PubNub or Centrifugo to do this kind of realtime synchronization, and while i will be trying this polling to keep everything in GS, i may have to break some of this synchronization out a bit.
Thank you for your ideas, very much appreciated!