示例#1
0
    private static EntityDataRoot smethod_13(Map map_0, Collectible collectible_0)
    {
        EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, collectible_0);
        Color          color_         = MapUtils.smethod_16(map_0, collectible_0);

        entityDataRoot.Data = new List <EntityRenderFragment>
        {
            GClass891.smethod_6(color_, 3, null)
        };
        return(entityDataRoot);
    }
示例#2
0
    private static EntityDataRoot smethod_14(Map map_0, Gate gate_0)
    {
        EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, gate_0);
        Color          color          = MapUtils.smethod_16(map_0, gate_0);

        entityDataRoot.Data = new List <EntityRenderFragment>
        {
            GClass891.smethod_6(color, 3, null),
            GClass891.smethod_9(Color.Transparent, 12, 3, new Color?(color))
        };
        return(entityDataRoot);
    }
示例#3
0
    private static EntityDataRoot smethod_21(Map map_0)
    {
        EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, map_0.Hero);
        Color          color_         = MapUtils.smethod_16(map_0, map_0.Hero);

        entityDataRoot.Data = new List <EntityRenderFragment>();
        if (map_0.Hero.MovementDestination != null)
        {
            Vector2 value   = map_0.Hero.MovementDestination.Value;
            float   float_  = value.X / (float)map_0.MapSize.Width;
            float   float_2 = value.Y / (float)map_0.MapSize.Height;
            entityDataRoot.Data.Add(GClass891.smethod_10(Color.Transparent, 2, float_, float_2, new Color?(Color.RoyalBlue)));
        }
        entityDataRoot.Data.Add(GClass891.smethod_6(color_, 8, null));
        return(entityDataRoot);
    }
示例#4
0
    private static EntityDataRoot smethod_12(GClass890 gclass890_0, Map map_0, Ship ship_0)
    {
        EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, ship_0);
        Color          color_         = MapUtils.smethod_16(map_0, ship_0);
        NpcShip        npcShip        = ship_0 as NpcShip;

        if (npcShip != null && (!(gclass890_0.Behavior ?? gclass890_0.gclass904_0).vmethod_7(npcShip) || npcShip.LeashedBy > 0))
        {
            color_ = Color.Gray;
        }
        Color?nullable_ = null;

        entityDataRoot.Data = new List <EntityRenderFragment>
        {
            GClass891.smethod_6(color_, 4, nullable_)
        };
        return(entityDataRoot);
    }