Exemplo n.º 1
0
 public Roll(int one = 0, int two = 0, int three = 0, int four = 0, int five = 0)
 {
     One   = new RollEntry(one);
     Two   = new RollEntry(two);
     Three = new RollEntry(three);
     Four  = new RollEntry(four);
     Five  = new RollEntry(five);
 }
Exemplo n.º 2
0
        public Roll(GenericReader reader)
        {
            int version = reader.ReadInt();

            One   = new RollEntry(reader.ReadInt(), reader.ReadBool());
            Two   = new RollEntry(reader.ReadInt(), reader.ReadBool());
            Three = new RollEntry(reader.ReadInt(), reader.ReadBool());
            Four  = new RollEntry(reader.ReadInt(), reader.ReadBool());
            Five  = new RollEntry(reader.ReadInt(), reader.ReadBool());
        }