private void SetupWorldQuestIcon(WrapperWorldQuest worldQuest, GameObject worldQuestObj, float mapOffsetX, float mapOffsetY, float mapScale)
        {
            float startLocationY = (float)worldQuest.StartLocationY * -mapScale;
            float startLocationX = (float)worldQuest.StartLocationX * mapScale;

            startLocationY += mapOffsetX;
            startLocationX += mapOffsetY;
            Vector2       vector3   = new Vector3(startLocationY / (float)AdventureMapPanel.GetImageWByMapID(worldQuest.StartLocationMapID), startLocationX / 1334f);
            RectTransform component = worldQuestObj.GetComponent <RectTransform>();

            component.anchorMin        = vector3;
            component.anchorMax        = vector3;
            component.anchoredPosition = Vector2.zero;
        }
        private void SetupWorldQuestIcon(WrapperWorldQuest worldQuest, GameObject worldQuestObj, float mapOffsetX, float mapOffsetY, float mapScale)
        {
            float num  = (float)worldQuest.StartLocationY * -mapScale;
            float num2 = (float)worldQuest.StartLocationX * mapScale;

            num  += mapOffsetX;
            num2 += mapOffsetY;
            float         num3      = (float)AdventureMapPanel.GetImageWByMapID(worldQuest.StartLocationMapID);
            float         num4      = (float)AdventureMapPanel.GetImageHByMapID(worldQuest.StartLocationMapID);
            Vector2       vector    = new Vector3(num / num3, num2 / num4);
            RectTransform component = worldQuestObj.GetComponent <RectTransform>();

            component.anchorMin        = vector;
            component.anchorMax        = vector;
            component.anchoredPosition = Vector2.zero;
        }