Remove ReadSerializable()
This commit is contained in:
parent
c2da335ce4
commit
07bfca4dd8
@ -23,12 +23,6 @@ namespace NeonTea.Quakeball.TeaNet.Packets {
|
|||||||
return pos < Bytes.Count;
|
return pos < Bytes.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Serializable ReadSerializable() {
|
|
||||||
Serializable s = (Serializable)Activator.CreateInstance(typeof(Serializable));
|
|
||||||
s.Read(this);
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ReadSerializable(Serializable s) {
|
public void ReadSerializable(Serializable s) {
|
||||||
s.Read(this);
|
s.Read(this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user