コード例 #1
0
 @Override
 public void read(final RandomByteBufferReader buffer) throws Exception {
   this.m_id = buffer.getInt();
   this.m_citizenPointLossFactor = buffer.getFloat();
   this.m_criteria = buffer.readUTF8().intern();
   this.m_citizenScoreLine = buffer.getInt();
 }
コード例 #2
0
 public void read(final RandomByteBufferReader buffer) throws Exception {
   this.m_id = buffer.getInt();
   this.m_exitX = buffer.getInt();
   this.m_exitY = buffer.getInt();
   this.m_exitWorldId = buffer.getInt();
   this.m_dropWeight = buffer.getInt();
   this.m_criteria = buffer.readUTF8().intern();
   if (buffer.get() != 0) {
     (this.m_loading = new TravelLoadingBinaryData()).read(buffer);
   } else {
     this.m_loading = null;
   }
 }