Ejemplo n.º 1
0
    public void method_0(GClass126 gclass126_0)
    {
        Map   map = ConnectionManager.Instance.Value.Game.Map;
        Asset asset;

        if (gclass126_0.gclass130_0.uint_0 != 35U)
        {
            if (gclass126_0.gclass130_0.uint_0 != 36U)
            {
                if (gclass126_0.gclass130_0.uint_0 == 37U)
                {
                    asset = new BattlestationModule(gclass126_0.int_5, gclass126_0.int_3);
                    goto IL_89;
                }
                asset = new Asset(gclass126_0.int_5, gclass126_0.int_3);
                goto IL_89;
            }
        }
        asset = (map.Battlestation = new Battlestation(gclass126_0.int_5, gclass126_0.int_3));
IL_89:
        if (asset != null)
        {
            asset.method_0(gclass126_0);
            map.Assets[gclass126_0.int_6] = asset;
            ICollidable collidable = asset;
            if (collidable != null)
            {
                map.Collidables[gclass126_0.string_1] = collidable;
            }
            map.Grid.method_9(asset);
        }
    }
Ejemplo n.º 2
0
    public void method_0(GClass126 gclass126_0)
    {
        Map   map = ConnectionManager.Instance.Value.Game.Map;
        Asset asset;

        if (gclass126_0.gclass130_0.int_0 != 35)
        {
            if (gclass126_0.gclass130_0.int_0 != 36)
            {
                if ((long)gclass126_0.gclass130_0.int_0 == 37L)
                {
                    asset = new BattlestationModule(gclass126_0.int_4, gclass126_0.int_5);
                    goto IL_91;
                }
                asset = new Asset(gclass126_0.int_4, gclass126_0.int_5);
                goto IL_91;
            }
        }
        asset = (map.Battlestation = new Battlestation(gclass126_0.int_4, gclass126_0.int_5));
IL_91:
        if (asset != null)
        {
            asset.method_0(gclass126_0);
            map.Assets[gclass126_0.int_2] = asset;
            ICollidable collidable = asset;
            if (collidable != null)
            {
                map.Collidables[gclass126_0.string_1] = collidable;
            }
            map.Grid.method_10(asset);
        }
    }
Ejemplo n.º 3
0
 public void method_0(GClass126 gclass126_0)
 {
     this.PosX          = gclass126_0.int_4;
     this.PosY          = gclass126_0.int_5;
     this.Id            = gclass126_0.int_2;
     this.Name          = gclass126_0.string_1;
     this.ClanTag       = gclass126_0.string_0;
     this.FactionId     = gclass126_0.qeCqsHxEdF;
     this.ClanDiplomacy = gclass126_0.gclass139_0.int_0;
     this.AssetType     = (AssetType)gclass126_0.gclass130_0.int_0;
 }
Ejemplo n.º 4
0
 public void method_0(GClass126 gclass126_0)
 {
     this.PosX          = gclass126_0.int_5;
     this.PosY          = gclass126_0.int_3;
     this.Id            = gclass126_0.int_6;
     this.Name          = gclass126_0.string_1;
     this.ClanTag       = gclass126_0.string_0;
     this.FactionId     = gclass126_0.int_1;
     this.ClanDiplomacy = (int)gclass126_0.gclass139_0.uint_0;
     this.AssetType     = (AssetType)gclass126_0.gclass130_0.uint_0;
 }