Ejemplo n.º 1
0
    public void Serialize(DataStream writer)
    {
        string type = GetType().ToString();

        writer.WriteString8(type);
        writer.WriteSInt32(CardID);
        BaseInfo.Serialize(writer);
        UpgradeInfo.Serialize(writer);
        LifeInfo.Serialize(writer);
        BattleInfo.Serialize(writer);
        MechInfo.Serialize(writer);
        EquipInfo.Serialize(writer);
        WeaponInfo.Serialize(writer);
        ShieldInfo.Serialize(writer);
        PackInfo.Serialize(writer);
        MAInfo.Serialize(writer);
        SideEffectBundle.Serialize(writer);
        SideEffectBundle_BattleGroundAura.Serialize(writer);
    }