public void ReadFromData(DataStorage data)
 {
     data.Read(out OtherPlayer);
     data.Read(out AfterClock);
 }
 public void WriteToData(DataStorage data)
 {
     data.Write(OtherPlayer);
     data.Write(AfterClock);
 }
Esempio n. 3
0
 public void ReadFromData(DataStorage data)
 {
     Data = data.Read();
 }
Esempio n. 4
0
 public void WriteToData(DataStorage data)
 {
     data.Write(Data);
 }
Esempio n. 5
0
 public void ReadFromData(DataStorage data)
 {
     ReadCommands(data);
 }
Esempio n. 6
0
 public void ReadFromData(DataStorage data)
 {
     data.Read(out int read); ReadPosition   = read;
     data.Read(out int write); WritePosition = write;
     Data = data.Read();
 }
Esempio n. 7
0
 public void WriteToData(DataStorage data)
 {
     WriteCommands(data);
 }
Esempio n. 8
0
 protected void WriteCommands(DataStorage data) => data.Write(Commands);
Esempio n. 9
0
 protected void ReadCommands(DataStorage data) => data.Read(out Commands);
Esempio n. 10
0
 public void WriteToData(DataStorage data)
 {
     data.Write(Name);
     data.Write(Args);
 }
Esempio n. 11
0
 public void ReadFromData(DataStorage data)
 {
     data.Read(out Name);
     data.Read(out Args);
 }