Esempio n. 1
0
 public override void Write(T inf, NetDataWriter w)
 {
     w.Put((int)Property.GetValue(inf, null));
 }
Esempio n. 2
0
 public override void Write(T inf, NetDataWriter w)
 {
     w.Put(Getter(inf), _maxLength);
 }
Esempio n. 3
0
 protected override void ElementWrite(NetDataWriter w, ref IPEndPoint prop)
 {
     w.Put(prop);
 }
Esempio n. 4
0
 protected override void ElementWrite(NetDataWriter w, ref char prop)
 {
     w.Put(prop);
 }
Esempio n. 5
0
 public override void Write(T inf, NetDataWriter w)
 {
     w.Put(Getter(inf));
 }
 protected virtual void WriteHash <T>(NetDataWriter writer)
 {
     writer.Put(GetHash <T>());
 }