Ejemplo n.º 1
0
        private void HandleRichPresenceUpdate(PresenceUpdate rpUpdate, FieldKey fieldKey)
        {
            FieldKey fieldKey2 = new FieldKey();

            fieldKey2.SetProgram(BnetProgramId.BNET.GetValue());
            fieldKey2.SetGroup(2u);
            fieldKey2.SetField(8u);
            fieldKey2.SetIndex(0UL);
            if (!fieldKey2.Equals(fieldKey))
            {
                return;
            }
            this.m_pendingRichPresenceUpdates.Add(rpUpdate);
            this.TryToResolveRichPresence();
        }