writeLong() public method

public writeLong ( long arg0 ) : void
arg0 long
return void
Beispiel #1
0
 public override void writePacketData(DataOutputStream dataoutputstream)
 {
     dataoutputstream.writeInt(protocolVersion);
     dataoutputstream.writeUTF(username);
     dataoutputstream.writeUTF(password);
     dataoutputstream.writeLong(mapSeed);
     dataoutputstream.writeByte(dimension);
 }
Beispiel #2
0
 private void func_22098_f()
 {
     try
     {
         var file = new File(field_22099_b, "session.lock");
         var dataoutputstream = new DataOutputStream(new FileOutputStream(file));
         try
         {
             dataoutputstream.writeLong(field_22100_d);
         }
         finally
         {
             dataoutputstream.close();
         }
     }
     catch (IOException ioexception)
     {
         ioexception.printStackTrace();
         throw new RuntimeException("Failed to check session lock, aborting");
     }
 }
Beispiel #3
0
 public override void writePacketData(DataOutputStream dataoutputstream)
 {
     dataoutputstream.writeLong(time);
 }