internal void OnCloudEventAvailable(int key, int value) { lock (m_lockObject) { m_events.Add(new KeyValuePair<int, int>(key, value)); m_isDirty = true; } } }