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