public void ReadFromData(DataStorage data) { data.Read(out OtherPlayer); data.Read(out AfterClock); }
public void WriteToData(DataStorage data) { data.Write(OtherPlayer); data.Write(AfterClock); }
public void ReadFromData(DataStorage data) { Data = data.Read(); }
public void WriteToData(DataStorage data) { data.Write(Data); }
public void ReadFromData(DataStorage data) { ReadCommands(data); }
public void ReadFromData(DataStorage data) { data.Read(out int read); ReadPosition = read; data.Read(out int write); WritePosition = write; Data = data.Read(); }
public void WriteToData(DataStorage data) { WriteCommands(data); }
protected void WriteCommands(DataStorage data) => data.Write(Commands);
protected void ReadCommands(DataStorage data) => data.Read(out Commands);
public void WriteToData(DataStorage data) { data.Write(Name); data.Write(Args); }
public void ReadFromData(DataStorage data) { data.Read(out Name); data.Read(out Args); }