Exemplo n.º 1
0
 public override void Deserialize(BinaryReader br)
 {
     this.Params[0] = MacroSerializer.ReadMacroAction(br);
     this.Params[1] = MacroSerializer.ReadMacroAction(br);
     this.Params[2] = MacroSerializer.ReadMacroAction(br);
     this.Params[3] = MacroSerializer.ReadMacroAction(br);
     this.Params[4] = MacroSerializer.ReadMacroAction(br);
 }
Exemplo n.º 2
0
        public override void Deserialize(BinaryReader br)
        {
            int i = br.ReadInt32();

            this.If.Clear();
            while (i-- > 0)
            {
                this.If.AddLast(MacroSerializer.ReadMacroAction(br));
            }

            i = br.ReadInt32();
            this.Then.Clear();
            while (i-- > 0)
            {
                this.Then.AddLast(MacroSerializer.ReadMacroAction(br));
            }

            i = br.ReadInt32();
            this.Else.Clear();
            while (i-- > 0)
            {
                this.Else.AddLast(MacroSerializer.ReadMacroAction(br));
            }
        }
Exemplo n.º 3
0
 public override void Deserialize(BinaryReader br) => this.Params[0] = MacroSerializer.ReadMacroAction(br);