how to add an event handler for an object changes?

I took the example from the documentation.
http://doc.photonengine.com/en-us/bolt/current/getting-started/bolt-104-objects-and-arrays
how to add an event handler for an object changes?
Something like this state.AddCallback("Weapons[1].Ammo",OnAmmoChanged);

Comments