コード例 #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;
   }
 }
コード例 #3
0
 @Override
 public void read(final RandomByteBufferReader buffer) throws Exception {
   this.m_cannonId = buffer.getInt();
   this.m_visualId = buffer.getInt();
   this.m_uiGfxId = buffer.getInt();
   this.m_landmarkTravelType = buffer.get();
   this.m_itemId = buffer.getInt();
   this.m_itemQty = buffer.getInt();
   final int linkCount = buffer.getInt();
   this.m_links = new Link[linkCount];
   for (int iLink = 0; iLink < linkCount; ++iLink) {
     (this.m_links[iLink] = new Link()).read(buffer);
   }
 }