// Token: 0x06000F1C RID: 3868 RVA: 0x0004AA17 File Offset: 0x00048C17
 private void OnDisable()
 {
     if (ExperienceManager.instance == this)
     {
         ExperienceManager.instance = null;
     }
 }
        // Token: 0x06000F23 RID: 3875 RVA: 0x0004ACAC File Offset: 0x00048EAC
        private void HandleCreateExpEffectInternal(NetworkMessage netMsg)
        {
            netMsg.ReadMessage <ExperienceManager.CreateExpEffectMessage>(ExperienceManager.currentIncomingCreateExpEffectMessage);
            GameObject targetBody = ExperienceManager.currentIncomingCreateExpEffectMessage.targetBody;

            if (!targetBody)
            {
                return;
            }
            HurtBox      hurtBox         = Util.FindBodyMainHurtBox(targetBody);
            Transform    targetTransform = ((hurtBox != null) ? hurtBox.transform : null) ?? targetBody.transform;
            List <ulong> list            = this.CalculateDenominations(ExperienceManager.currentIncomingCreateExpEffectMessage.awardAmount);
            uint         num             = 0u;

            for (int i = 0; i < list.Count; i++)
            {
                ExperienceOrbBehavior component = UnityEngine.Object.Instantiate <GameObject>(Resources.Load <GameObject>("Prefabs/ExpOrb"), ExperienceManager.currentIncomingCreateExpEffectMessage.origin, Quaternion.identity).GetComponent <ExperienceOrbBehavior>();
                component.targetTransform = targetTransform;
                component.travelTime      = ExperienceManager.CalcOrbTravelTime(ExperienceManager.orbTimeOffsetSequence[(int)num]);
                component.exp             = list[i];
                num += 1u;
                if ((ulong)num >= (ulong)((long)ExperienceManager.orbTimeOffsetSequence.Length))
                {
                    num = 0u;
                }
            }
        }
 // Token: 0x06000F1B RID: 3867 RVA: 0x0004A9EB File Offset: 0x00048BEB
 private void OnEnable()
 {
     if (ExperienceManager.instance && ExperienceManager.instance != this)
     {
         Debug.LogError("Only one ExperienceManager can exist at a time.");
         return;
     }
     ExperienceManager.instance = this;
 }