Remove ReadSerializable()

This commit is contained in:
Sofia 2020-08-05 21:42:09 +03:00
parent c2da335ce4
commit 07bfca4dd8

View File

@ -23,12 +23,6 @@ namespace NeonTea.Quakeball.TeaNet.Packets {
return pos < Bytes.Count;
}
public Serializable ReadSerializable() {
Serializable s = (Serializable)Activator.CreateInstance(typeof(Serializable));
s.Read(this);
return s;
}
public void ReadSerializable(Serializable s) {
s.Read(this);
}