Exemplo n.º 1
0
 public override void Write(T inf, NetDataWriter w)
 {
     w.Put((int)Property.GetValue(inf, null));
 }
Exemplo n.º 2
0
 protected virtual void WriteHash <T>(NetDataWriter writer)
 {
     writer.Put(GetHash <T>());
 }
Exemplo n.º 3
0
 public override void Write(T inf, NetDataWriter w)
 {
     w.Put(Getter(inf), _maxLength);
 }
Exemplo n.º 4
0
 protected override void ElementWrite(NetDataWriter w, ref IPEndPoint prop)
 {
     w.Put(prop);
 }
Exemplo n.º 5
0
 protected override void ElementWrite(NetDataWriter w, ref char prop)
 {
     w.Put(prop);
 }
Exemplo n.º 6
0
 public override void Write(T inf, NetDataWriter w)
 {
     w.Put(Getter(inf));
 }
Exemplo n.º 7
0
 protected TProperty[] WriteArrayHelper(TClass inf, NetDataWriter w)
 {
     TProperty[] arr = GetterArr(inf);
     w.Put((ushort)arr.Length);
     return(arr);
 }