Exemple #1
0
    private static EntityDataRoot smethod_23(Map map_0, Asset asset_0)
    {
        Color          color_         = MapUtils.smethod_16(map_0, asset_0);
        EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, asset_0);

        entityDataRoot.Data.Add(GClass891.smethod_9(color_, 3, 1, new Color?(Color.DarkGray)));
        return(entityDataRoot);
    }
Exemple #2
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);
    }
Exemple #3
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);
    }
Exemple #4
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);
    }
Exemple #5
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);
    }