public Hero AssignedHero()
        {
            int getHandle = MemoryManager.ReadInt(EntityPointer + (int)PlayerOffsets.AssignedHero);

            if (getHandle == -1)
            {
                return(null);
            }

            IntPtr heroPointer = EntitySystem.GetEntityFromHandle(getHandle);

            Entity getEntity = CacheObject.Instance.CreateGet(heroPointer);

            if (getEntity is Hero hero)
            {
                return(hero);
            }

            return(null);
        }