How To Set Up Synchronization Of A Numeric Room Property Changes

The example below explains how to set up an event listener to synchronize the numeric room property value with all members of the room.

// This event is raised when HP value changes
room.OnIncrPropertySync += OnDiarkisRoomIncrPropertySync;

private void OnDiarkisRoomIncrPropertySync(long value)
{

        // Update UI and do some cool things here
};