ReadLong() public method

8字节读出
public ReadLong ( ) : long
return long
Exemplo n.º 1
0
 public sealed override void ReadFromBuffer(NetBuffer buffer, SyncContext context)
 {
     if (Revision < context.Revision)
     {
         value        = buffer.ReadLong() - context.ConnectionTimestampOffset;
         Synchronised = false;
     }
     else
     {
         SkipFromBuffer(buffer);
     }
 }
Exemplo n.º 2
0
 public override void ReadFromBuffer(NetBuffer buffer)
 {
     value = buffer.ReadLong();
 }