Пример #1
0
  @Override
  protected PlayerProfile requestDo(HInput input, HOutput output) throws IOException {
    output.writeUUID(uuid);
    output.flush();

    // Return profile
    return input.readBoolean() ? new PlayerProfile(input) : null;
  }
Пример #2
0
 @LauncherAPI
 protected final void writeNoError(HOutput output) throws IOException {
   output.writeString("", 0);
 }