Package com.mojang.realmsclient.client
Part 1/1
FileDownload
- Full name:
com.mojang.realmsclient.client.FileDownload - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/FileDownload.java - Type:
class - Modifiers:
public
com.mojang.realmsclient.client.FileDownload#cancel()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:199 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ cancel ตาม implementation ของ FileDownload
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: cancelled. เรียกต่อ: abort(), delete().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileDownload#contentLength(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:88 - Modifiers:
public - Return:
long
คืออะไร
ดำเนินการ contentLength ตาม implementation ของ FileDownload
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป ; มีการจัดการ exception. เรียกต่อ: create(), setDefaultRequestConfig(), build(), execute(), parseLong(), getFirstHeader(), getValue(), error(). สร้างออบเจ็กต์: HttpGet. มีจุด return อย่างน้อย 2 จุด.
Parameters
String string
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileDownload#download(WorldDownload,String,RealmsDownloadLatestWorldScreen.DownloadStatus,LevelStorageSource)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:115 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ download ตาม implementation ของ FileDownload
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป ; มีการจัดการ exception. แก้ state: currentThread, tempFile, request, error, finished. เรียกต่อ: createTempFile(), create(), setDefaultRequestConfig(), build(), execute(), parseLong(), getFirstHeader(), getValue(). สร้างออบเจ็กต์: Thread, HttpGet, FileOutputStream, FileDownload.ProgressListener.
Parameters
WorldDownload worldDownloadString stringRealmsDownloadLatestWorldScreen.DownloadStatus downloadStatusLevelStorageSource levelStorageSource
ตัวอย่างใช้งาน
FileDownload instance = ...;
WorldDownload worldDownload = ...;
RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus = ...;
LevelStorageSource levelStorageSource = ...;
instance.download(worldDownload, "value", downloadStatus, levelStorageSource);
com.mojang.realmsclient.client.FileDownload#findAvailableFolderName(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:223 - Modifiers:
public static - Return:
String
คืออะไร
ค้นหา Available Folder Name
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: replaceAll(), equalsIgnoreCase(). คืนค่า: string.
Parameters
String string
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileDownload#isError()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:215 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Error
ทำงานยังไง
คืนค่า: this.error.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileDownload#isExtracting()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:219 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Extracting
ทำงานยังไง
คืนค่า: this.extracting.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileDownload#isFinished()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileDownload.java:211 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Finished
ทำงานยังไง
คืนค่า: this.finished.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
FileUpload
- Full name:
com.mojang.realmsclient.client.FileUpload - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/FileUpload.java - Type:
class - Modifiers:
public
com.mojang.realmsclient.client.FileUpload#cancel()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileUpload.java:84 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ cancel ตาม implementation ของ FileUpload
ทำงานยังไง
เรียกต่อ: set().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileUpload#FileUpload(File,long,int,UploadInfo,User,String,String,UploadStatus)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileUpload.java:58 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ FileUpload ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: file, realmId, slotId, uploadInfo, sessionId, username. เรียกต่อ: getSessionId(), getName().
Parameters
File filelong lint iUploadInfo uploadInfoUser userString stringString string2UploadStatus uploadStatus
ตัวอย่างใช้งาน
File file = ...;
UploadInfo uploadInfo = ...;
User user = ...;
UploadStatus uploadStatus = ...;
FileUpload instance = new FileUpload(file, 0L, 0, uploadInfo, user, "value", "value", uploadStatus);
com.mojang.realmsclient.client.FileUpload#isFinished()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileUpload.java:186 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Finished
ทำงานยังไง
เรียกต่อ: isDone(), isCancelled(). คืนค่า: this.uploadTask.isDone() || this.uploadTask.isCancelled().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.FileUpload#upload()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/FileUpload.java:70 - Modifiers:
public - Return:
UploadResult
คืออะไร
ดำเนินการ upload ตาม implementation ของ FileUpload
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: uploadTask. เรียกต่อ: Builder(), build(), supplyAsync(), requestUpload(), backgroundExecutor(), get(), cancel(), join(). สร้างออบเจ็กต์: UploadResult.Builder. มีจุด return อย่างน้อย 3 จุด.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
Ping
- Full name:
com.mojang.realmsclient.client.Ping - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/Ping.java - Type:
class - Modifiers:
public
com.mojang.realmsclient.client.Ping#ping(Ping.Region[])
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Ping.java:17 - Modifiers:
public static - Return:
List<RegionPingResult>
คืออะไร
ดำเนินการ ping ตาม implementation ของ Ping
ทำงานยังไง
มีการวนลูป. เรียกต่อ: newArrayList(), add(), sort(), comparingInt(). สร้างออบเจ็กต์: RegionPingResult. คืนค่า: list.
Parameters
Ping.Region[] regions
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Ping#pingAllRegions()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Ping.java:58 - Modifiers:
public static - Return:
List<RegionPingResult>
คืออะไร
ดำเนินการ pingAllRegions ตาม implementation ของ Ping
ทำงานยังไง
เรียกต่อ: ping(), values(). คืนค่า: ping(Ping.Region.values()).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
RealmsClient
- Full name:
com.mojang.realmsclient.client.RealmsClient - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/RealmsClient.java - Type:
class - Modifiers:
public
com.mojang.realmsclient.client.RealmsClient#acceptInvitation(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:330 - Modifiers:
public - Return:
void
คืออะไร
รับค่า Invitation
ทำงานยังไง
เรียกต่อ: url(), replace(), execute(), put().
Parameters
String string
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#agreeToTos()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:358 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ agreeToTos ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), execute(), post().
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#backupsFor(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:234 - Modifiers:
public - Return:
BackupList
คืออะไร
ดำเนินการ backupsFor ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), get(), parse(). คืนค่า: BackupList.parse(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#clientCompatible()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:205 - Modifiers:
public - Return:
RealmsClient.CompatibleVersionResponse
คืออะไร
ดำเนินการ clientCompatible ตาม implementation ของ RealmsClient
ทำงานยังไง
มีการจัดการ exception. เรียกต่อ: url(), execute(), get(), valueOf(), unknownCompatibilityResponse(). สร้างออบเจ็กต์: RealmsServiceException. คืนค่า: RealmsClient.CompatibleVersionResponse.valueOf(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
RealmsClient instance = ...;
RealmsClient.CompatibleVersionResponse result = instance.clientCompatible();
com.mojang.realmsclient.client.RealmsClient#close(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:295 - Modifiers:
public - Return:
Boolean
คืออะไร
ปิด close
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), put(). คืนค่า: Boolean.valueOf(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#create()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:100 - Modifiers:
public static - Return:
RealmsClient
คืออะไร
สร้าง create
ทำงานยังไง
เรียกต่อ: getInstance(). คืนค่า: create(minecraft).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#create(Minecraft)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:105 - Modifiers:
public static - Return:
RealmsClient
คืออะไร
สร้าง create
ทำงานยังไง
เรียกต่อ: getUser(), getName(), getSessionId(). สร้างออบเจ็กต์: RealmsClient. คืนค่า: new RealmsClient(string2, string, minecraft).
Parameters
Minecraft minecraft
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#createSnapshotRealm(Long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:134 - Modifiers:
public - Return:
RealmsServer
คืออะไร
สร้าง Snapshot Realm
ทำงานยังไง
เรียกต่อ: valueOf(), url(), replace(), parse(), execute(), post(). คืนค่า: RealmsServer.parse(this.execute(Request.post(string2, string))).
Parameters
Long long_
Throws
RealmsServiceException
ตัวอย่างใช้งาน
RealmsClient instance = ...;
Long long_ = ...;
RealmsServer result = instance.createSnapshotRealm(long_);
com.mojang.realmsclient.client.RealmsClient#deleteRealm(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:380 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ deleteRealm ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), delete().
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#deop(long,UUID)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:283 - Modifiers:
public - Return:
Ops
คืออะไร
ดำเนินการ deop ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: replace(), valueOf(), toString(), url(), parse(), execute(), delete(). คืนค่า: Ops.parse(this.execute(Request.delete(string2))).
Parameters
long lUUID uUID
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#fetchWorldTemplates(int,int,RealmsServer.WorldType)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:263 - Modifiers:
public - Return:
WorldTemplatePaginatedList
คืออะไร
ดำเนินการ fetchWorldTemplates ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), toString(), format(), execute(), get(), parse(). คืนค่า: WorldTemplatePaginatedList.parse(string2).
Parameters
int iint jRealmsServer.WorldType worldType
Throws
RealmsServiceException
ตัวอย่างใช้งาน
RealmsClient instance = ...;
RealmsServer.WorldType worldType = ...;
WorldTemplatePaginatedList result = instance.fetchWorldTemplates(0, 0, worldType);
com.mojang.realmsclient.client.RealmsClient#getActivity(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:174 - Modifiers:
public - Return:
ServerActivityList
คืออะไร
อ่านค่า Activity
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), get(), parse(). คืนค่า: ServerActivityList.parse(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#getLiveStats()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:180 - Modifiers:
public - Return:
RealmsServerPlayerLists
คืออะไร
อ่านค่า Live Stats
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), parse(). คืนค่า: RealmsServerPlayerLists.parse(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#getNews()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:363 - Modifiers:
public - Return:
RealmsNews
คืออะไร
อ่านค่า News
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), parse(). คืนค่า: RealmsNews.parse(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#getNotifications()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:140 - Modifiers:
public - Return:
List<RealmsNotification>
คืออะไร
อ่านค่า Notifications
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), parseList(). คืนค่า: RealmsNotification.parseList(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#getOwnRealm(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:168 - Modifiers:
public - Return:
RealmsServer
คืออะไร
อ่านค่า Own Realm
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), get(), parse(). คืนค่า: RealmsServer.parse(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#hasParentalConsent()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:199 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบว่ามี Parental Consent
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), parseBoolean(). คืนค่า: Boolean.parseBoolean(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#initializeRealm(long,String,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:192 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ initializeRealm ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), toJson(), execute(), post(). สร้างออบเจ็กต์: RealmsDescriptionDto.
Parameters
long lString stringString string2
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#invite(long,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:226 - Modifiers:
public - Return:
RealmsServer
คืออะไร
ดำเนินการ invite ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: setName(), url(), replace(), valueOf(), execute(), post(), toJson(), parse(). สร้างออบเจ็กต์: PlayerInfo. คืนค่า: RealmsServer.parse(string3).
Parameters
long lString string
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#join(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:186 - Modifiers:
public - Return:
RealmsServerAddress
คืออะไร
รวม/เข้าร่วม join
ทำงานยังไง
เรียกต่อ: url(), replace(), execute(), get(), parse(). คืนค่า: RealmsServerAddress.parse(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#listRealms()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:118 - Modifiers:
public - Return:
RealmsServerList
คืออะไร
ดำเนินการ listRealms ตาม implementation ของ RealmsClient
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: url(), isSnapshot(), execute(), get(), parse(). คืนค่า: RealmsServerList.parse(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#listSnapshotEligibleRealms()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:128 - Modifiers:
public - Return:
List<RealmsServer>
คืออะไร
ดำเนินการ listSnapshotEligibleRealms ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), parse(). คืนค่า: RealmsServerList.parse(string2).servers.
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#notificationsDismiss(List<UUID>)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:163 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ notificationsDismiss ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), execute(), post(), toJson(), uuidListToJsonArray().
Parameters
List<UUID> list
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#notificationsSeen(List<UUID>)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:158 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ notificationsSeen ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), execute(), post(), toJson(), uuidListToJsonArray().
Parameters
List<UUID> list
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#op(long,UUID)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:277 - Modifiers:
public - Return:
Ops
คืออะไร
ดำเนินการ op ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: replace(), valueOf(), toString(), url(), parse(), execute(), post(). คืนค่า: Ops.parse(this.execute(Request.post(string2, ""))).
Parameters
long lUUID uUID
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#open(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:289 - Modifiers:
public - Return:
Boolean
คืออะไร
เปิด open
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), put(). คืนค่า: Boolean.valueOf(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#pendingInvites()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:318 - Modifiers:
public - Return:
PendingInvitesList
คืออะไร
ดำเนินการ pendingInvites ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), parse(), removeIf(). คืนค่า: pendingInvitesList.
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#pendingInvitesCount()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:314 - Modifiers:
public - Return:
int
คืออะไร
ดำเนินการ pendingInvitesCount ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: pendingInvites(), size(). คืนค่า: this.pendingInvites().pendingInvites.size().
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#putIntoMinigameMode(long,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:271 - Modifiers:
public - Return:
Boolean
คืออะไร
ดำเนินการ putIntoMinigameMode ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: replace(), valueOf(), url(), execute(), put(). คืนค่า: Boolean.valueOf(this.execute(Request.put(string3, ""))).
Parameters
long lString string
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#RealmsClient(String,String,Minecraft)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:111 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ RealmsClient ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: sessionId, username, minecraft. เรียกต่อ: setProxy(), getProxy().
Parameters
String stringString string2Minecraft minecraft
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#rejectInvitation(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:353 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ rejectInvitation ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), execute(), put().
Parameters
String string
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#requestDownloadInfo(long,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:335 - Modifiers:
public - Return:
WorldDownload
คืออะไร
ดำเนินการ requestDownloadInfo ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), get(), parse(). คืนค่า: WorldDownload.parse(string2).
Parameters
long lint i
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#requestUploadInfo(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:341 - Modifiers:
public - Return:
UploadInfo
คืออะไร
ดำเนินการ requestUploadInfo ตาม implementation ของ RealmsClient
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: url(), replace(), valueOf(), get(), parse(), execute(), put(), createRequest(). คืนค่า: uploadInfo.
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#resetWorldWithTemplate(long,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:301 - Modifiers:
public - Return:
Boolean
คืออะไร
รีเซ็ต World With Template
ทำงานยังไง
เรียกต่อ: valueOf(), of(), url(), replace(), execute(), post(), toJson(). สร้างออบเจ็กต์: RealmsWorldResetDto. คืนค่า: Boolean.valueOf(string3).
Parameters
long lString string
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#restoreWorld(long,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:258 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ restoreWorld ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), put().
Parameters
long lString string
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#sendPingResults(PingResult)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:369 - Modifiers:
public - Return:
void
คืออะไร
ส่ง Ping Results
ทำงานยังไง
เรียกต่อ: url(), execute(), post(), toJson().
Parameters
PingResult pingResult
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#subscriptionFor(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:308 - Modifiers:
public - Return:
Subscription
คืออะไร
ดำเนินการ subscriptionFor ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), get(), parse(). คืนค่า: Subscription.parse(string2).
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#switchSlot(long,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:252 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ switchSlot ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), put(). คืนค่า: Boolean.valueOf(string2).
Parameters
long lint i
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#trialAvailable()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:374 - Modifiers:
public - Return:
Boolean
คืออะไร
ดำเนินการ trialAvailable ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), execute(), get(), valueOf(). คืนค่า: Boolean.valueOf(string2).
Parameters
- ไม่มี
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#uninvite(long,UUID)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:216 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ uninvite ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), toString(), execute(), delete().
Parameters
long lUUID uUID
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#uninviteMyselfFrom(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:221 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ uninviteMyselfFrom ตาม implementation ของ RealmsClient
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), delete().
Parameters
long l
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#update(long,String,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:240 - Modifiers:
public - Return:
void
คืออะไร
อัปเดต update
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), execute(), post(), toJson(). สร้างออบเจ็กต์: RealmsDescriptionDto.
Parameters
long lString stringString string2
Throws
RealmsServiceException
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClient#updateSlot(long,int,RealmsWorldOptions)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:246 - Modifiers:
public - Return:
void
คืออะไร
อัปเดต Slot
ทำงานยังไง
เรียกต่อ: url(), replace(), valueOf(), toJson(), execute(), post().
Parameters
long lint iRealmsWorldOptions realmsWorldOptions
Throws
RealmsServiceException
ตัวอย่างใช้งาน
RealmsClient instance = ...;
RealmsWorldOptions realmsWorldOptions = ...;
instance.updateSlot(0L, 0, realmsWorldOptions);
RealmsClient$Environment
- Full name:
com.mojang.realmsclient.client.RealmsClient$Environment - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/RealmsClient.java - Type:
enum - Modifiers:
public
com.mojang.realmsclient.client.RealmsClient$Environment#byName(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClient.java:447 - Modifiers:
public static - Return:
Optional<RealmsClient.Environment>
คืออะไร
ดำเนินการ byName ตาม implementation ของ RealmsClient$Environment
ทำงานยังไง
แยกกรณีด้วย switch. เรียกต่อ: toLowerCase(), of(), empty(). คืนค่า: switch (string.toLowerCase(Locale.ROOT)) { case "production" -> Optional.of(PRODUCTION).
Parameters
String string
ตัวอย่างใช้งาน
RealmsClientConfig
- Full name:
com.mojang.realmsclient.client.RealmsClientConfig - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/RealmsClientConfig.java - Type:
class - Modifiers:
public
com.mojang.realmsclient.client.RealmsClientConfig#getProxy()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClientConfig.java:13 - Modifiers:
public static - Return:
Proxy
คืออะไร
อ่านค่า Proxy
ทำงานยังไง
คืนค่า: proxy.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsClientConfig#setProxy(Proxy)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsClientConfig.java:18 - Modifiers:
public static - Return:
void
คืออะไร
กำหนดค่า Proxy
ทำงานยังไง
ตรวจเงื่อนไขด้วย if.
Parameters
Proxy proxy
ตัวอย่างใช้งาน
RealmsError
- Full name:
com.mojang.realmsclient.client.RealmsError - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/RealmsError.java - Type:
interface - Modifiers:
public
com.mojang.realmsclient.client.RealmsError#errorCode()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsError.java:22 - Modifiers: ``
- Return:
int
คืออะไร
ดำเนินการ errorCode ตาม implementation ของ RealmsError
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsError#errorMessage()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsError.java:24 - Modifiers: ``
- Return:
Component
คืออะไร
ดำเนินการ errorMessage ตาม implementation ของ RealmsError
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsError#logMessage()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsError.java:26 - Modifiers: ``
- Return:
String
คืออะไร
ดำเนินการ logMessage ตาม implementation ของ RealmsError
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.RealmsError#parse(int,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/RealmsError.java:28 - Modifiers:
static - Return:
RealmsError
คืออะไร
แปลง/วิเคราะห์ข้อมูล parse
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการจัดการ exception. เรียกต่อ: isNullOrEmpty(), noPayload(), parseString(), getAsJsonObject(), getAsString(), getAsInt(), ErrorWithJsonPayload(), error(). สร้างออบเจ็กต์: RealmsError.ErrorWithJsonPayload, RealmsError.ErrorWithRawPayload. มีจุด return อย่างน้อย 4 จุด.
Parameters
int iString string
ตัวอย่างใช้งาน
Request
- Full name:
com.mojang.realmsclient.client.Request - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/Request.java - Type:
class - Modifiers:
public abstract
com.mojang.realmsclient.client.Request#addSnapshotHeader(boolean)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:60 - Modifiers:
public - Return:
void
คืออะไร
เพิ่ม Snapshot Header
ทำงานยังไง
เรียกต่อ: addRequestProperty(), valueOf().
Parameters
boolean bl
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#connect()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:150 - Modifiers:
protected - Return:
T
คืออะไร
ดำเนินการ connect ตาม implementation ของ Request
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: connected. เรียกต่อ: doConnect(). มีจุด return อย่างน้อย 2 จุด.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#cookie(HttpURLConnection,String,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:51 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ cookie ตาม implementation ของ Request
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getRequestProperty(), setRequestProperty().
Parameters
HttpURLConnection httpURLConnectionString stringString string2
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#cookie(String,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:47 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ cookie ตาม implementation ของ Request
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
String stringString string2
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#delete(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:178 - Modifiers:
public static - Return:
Request<?>
คืออะไร
ดำเนินการ delete ตาม implementation ของ Request
ทำงานยังไง
เรียกต่อ: Delete(). สร้างออบเจ็กต์: Request.Delete. คืนค่า: new Request.Delete(string, 5000, 60000).
Parameters
String string
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#doConnect()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:160 - Modifiers:
protected abstract - Return:
T
คืออะไร
ดำเนินการ doConnect ตาม implementation ของ Request
ทำงานยังไง
ไม่มี implementation ใน declaration นี้; คลาสลูก/implementation เป็นผู้กำหนดพฤติกรรมจริง
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#get(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:162 - Modifiers:
public static - Return:
Request<?>
คืออะไร
อ่านค่า get
ทำงานยังไง
เรียกต่อ: Get(). สร้างออบเจ็กต์: Request.Get. คืนค่า: new Request.Get(string, 5000, 60000).
Parameters
String string
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#get(String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:166 - Modifiers:
public static - Return:
Request<?>
คืออะไร
อ่านค่า get
ทำงานยังไง
เรียกต่อ: Get(). สร้างออบเจ็กต์: Request.Get. คืนค่า: new Request.Get(string, i, j).
Parameters
String stringint iint j
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#getHeader(HttpURLConnection,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:194 - Modifiers:
public static - Return:
String
คืออะไร
อ่านค่า Header
ทำงานยังไง
มีการจัดการ exception. เรียกต่อ: getHeaderField(). มีจุด return อย่างน้อย 2 จุด.
Parameters
HttpURLConnection httpURLConnectionString string
ตัวอย่างใช้งาน
HttpURLConnection httpURLConnection = ...;
String result = Request.getHeader(httpURLConnection, "value");
com.mojang.realmsclient.client.Request#getHeader(String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:190 - Modifiers:
public - Return:
String
คืออะไร
อ่านค่า Header
ทำงานยังไง
คืนค่า: getHeader(this.connection, string).
Parameters
String string
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#getRetryAfterHeader()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:64 - Modifiers:
public - Return:
int
คืออะไร
อ่านค่า Retry After Header
ทำงานยังไง
คืนค่า: getRetryAfterHeader(this.connection).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#getRetryAfterHeader(HttpURLConnection)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:68 - Modifiers:
public static - Return:
int
คืออะไร
อ่านค่า Retry After Header
ทำงานยังไง
มีการจัดการ exception. เรียกต่อ: getHeaderField(), valueOf(). มีจุด return อย่างน้อย 2 จุด.
Parameters
HttpURLConnection httpURLConnection
ตัวอย่างใช้งาน
HttpURLConnection httpURLConnection = ...;
int result = Request.getRetryAfterHeader(httpURLConnection);
com.mojang.realmsclient.client.Request#post(String,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:170 - Modifiers:
public static - Return:
Request<?>
คืออะไร
ดำเนินการ post ตาม implementation ของ Request
ทำงานยังไง
เรียกต่อ: Post(). สร้างออบเจ็กต์: Request.Post. คืนค่า: new Request.Post(string, string2, 5000, 60000).
Parameters
String stringString string2
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#post(String,String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:174 - Modifiers:
public static - Return:
Request<?>
คืออะไร
ดำเนินการ post ตาม implementation ของ Request
ทำงานยังไง
เรียกต่อ: Post(). สร้างออบเจ็กต์: Request.Post. คืนค่า: new Request.Post(string, string2, i, j).
Parameters
String stringString string2int iint j
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#put(String,String)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:182 - Modifiers:
public static - Return:
Request<?>
คืออะไร
ดำเนินการ put ตาม implementation ของ Request
ทำงานยังไง
เรียกต่อ: Put(). สร้างออบเจ็กต์: Request.Put. คืนค่า: new Request.Put(string, string2, 5000, 60000).
Parameters
String stringString string2
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#put(String,String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:186 - Modifiers:
public static - Return:
Request<?>
คืออะไร
ดำเนินการ put ตาม implementation ของ Request
ทำงานยังไง
เรียกต่อ: Put(). สร้างออบเจ็กต์: Request.Put. คืนค่า: new Request.Put(string, string2, i, j).
Parameters
String stringString string2int iint j
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#Request(String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:28 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Request ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการจัดการ exception. แก้ state: url, connection. เรียกต่อ: getProxy(), openConnection(), setConnectTimeout(), setReadTimeout(), getMessage(). สร้างออบเจ็กต์: URL, RealmsHttpException.
Parameters
String stringint iint j
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#responseCode()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:78 - Modifiers:
public - Return:
int
คืออะไร
ดำเนินการ responseCode ตาม implementation ของ Request
ทำงานยังไง
มีการจัดการ exception. เรียกต่อ: connect(), getResponseCode(), getMessage(). สร้างออบเจ็กต์: RealmsHttpException. คืนค่า: this.connection.getResponseCode().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request#text()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:87 - Modifiers:
public - Return:
String
คืออะไร
ดำเนินการ text ตาม implementation ของ Request
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการจัดการ exception. เรียกต่อ: connect(), responseCode(), read(), getErrorStream(), getInputStream(), dispose(), getMessage(). สร้างออบเจ็กต์: RealmsHttpException. คืนค่า: string.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
Request$Delete
- Full name:
com.mojang.realmsclient.client.Request$Delete - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/Request.java - Type:
class - Modifiers:
public static - Extends:
Request<Request.Delete>
com.mojang.realmsclient.client.Request$Delete#Delete(String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:204 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Request.Delete ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
String stringint iint j
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request$Delete#doConnect()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:208 - Modifiers:
public - Return:
Request.Delete
คืออะไร
ดำเนินการ doConnect ตาม implementation ของ Request$Delete
ทำงานยังไง
มีการจัดการ exception. เรียกต่อ: setDoOutput(), setRequestMethod(), connect(), getMessage(). สร้างออบเจ็กต์: RealmsHttpException. คืนค่า: this.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
Request$Get
- Full name:
com.mojang.realmsclient.client.Request$Get - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/Request.java - Type:
class - Modifiers:
public static - Extends:
Request<Request.Get>
com.mojang.realmsclient.client.Request$Get#doConnect()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:226 - Modifiers:
public - Return:
Request.Get
คืออะไร
ดำเนินการ doConnect ตาม implementation ของ Request$Get
ทำงานยังไง
มีการจัดการ exception. เรียกต่อ: setDoInput(), setDoOutput(), setUseCaches(), setRequestMethod(), getMessage(). สร้างออบเจ็กต์: RealmsHttpException. คืนค่า: this.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request$Get#Get(String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:222 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Request.Get ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
String stringint iint j
ตัวอย่างใช้งาน
Request$Post
- Full name:
com.mojang.realmsclient.client.Request$Post - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/Request.java - Type:
class - Modifiers:
public static - Extends:
Request<Request.Post>
com.mojang.realmsclient.client.Request$Post#doConnect()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:248 - Modifiers:
public - Return:
Request.Post
คืออะไร
ดำเนินการ doConnect ตาม implementation ของ Request$Post
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการจัดการ exception. เรียกต่อ: setRequestProperty(), setDoInput(), setDoOutput(), setUseCaches(), setRequestMethod(), getOutputStream(), write(), close(). สร้างออบเจ็กต์: OutputStreamWriter, RealmsHttpException. คืนค่า: this.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request$Post#Post(String,String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:243 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Request.Post ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: content.
Parameters
String stringString string2int iint j
ตัวอย่างใช้งาน
Request$Put
- Full name:
com.mojang.realmsclient.client.Request$Put - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/Request.java - Type:
class - Modifiers:
public static - Extends:
Request<Request.Put>
com.mojang.realmsclient.client.Request$Put#doConnect()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:279 - Modifiers:
public - Return:
Request.Put
คืออะไร
ดำเนินการ doConnect ตาม implementation ของ Request$Put
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการจัดการ exception. เรียกต่อ: setRequestProperty(), setDoOutput(), setDoInput(), setRequestMethod(), getOutputStream(), write(), close(), flush(). สร้างออบเจ็กต์: OutputStreamWriter, RealmsHttpException. คืนค่า: this.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.Request$Put#Put(String,String,int,int)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/Request.java:274 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Request.Put ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: content.
Parameters
String stringString string2int iint j
ตัวอย่างใช้งาน
UploadStatus
- Full name:
com.mojang.realmsclient.client.UploadStatus - Package:
com.mojang.realmsclient.client - Source:
clientOnly—com/mojang/realmsclient/client/UploadStatus.java - Type:
class - Modifiers:
public
com.mojang.realmsclient.client.UploadStatus#getBytesPerSecond()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:54 - Modifiers:
public - Return:
long
คืออะไร
อ่านค่า Bytes Per Second
ทำงานยังไง
คืนค่า: this.bytesPerSecond.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#getBytesWritten()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:23 - Modifiers:
public - Return:
long
คืออะไร
อ่านค่า Bytes Written
ทำงานยังไง
คืนค่า: this.bytesWritten.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#getPercentage()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:39 - Modifiers:
public - Return:
double
คืออะไร
อ่านค่า Percentage
ทำงานยังไง
เรียกต่อ: min(), getBytesWritten(), getTotalBytes(). คืนค่า: Math.min((double)this.getBytesWritten() / this.getTotalBytes(), 1.0).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#getTotalBytes()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:19 - Modifiers:
public - Return:
long
คืออะไร
อ่านค่า Total Bytes
ทำงานยังไง
คืนค่า: this.totalBytes.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#onWrite(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:27 - Modifiers:
public - Return:
void
คืออะไร
จัดการเหตุการณ์ Write
ทำงานยังไง
แก้ state: bytesWritten.
Parameters
long l
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#refreshBytesPerSecond()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:43 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ refreshBytesPerSecond ตาม implementation ของ UploadStatus
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: bytesPerSecond, previousBytesWritten, previousTimeSnapshot. เรียกต่อ: getMillis().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#setTotalBytes(long)
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:15 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า Total Bytes
ทำงานยังไง
แก้ state: totalBytes.
Parameters
long l
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#uploadCompleted()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:35 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ uploadCompleted ตาม implementation ของ UploadStatus
ทำงานยังไง
แก้ state: bytesWritten. เรียกต่อ: getTotalBytes(). คืนค่า: this.bytesWritten == this.getTotalBytes().
Parameters
- ไม่มี
ตัวอย่างใช้งาน
com.mojang.realmsclient.client.UploadStatus#uploadStarted()
- Origin:
clientOnly - Source:
com/mojang/realmsclient/client/UploadStatus.java:31 - Modifiers:
public - Return:
boolean
คืออะไร
ดำเนินการ uploadStarted ตาม implementation ของ UploadStatus
ทำงานยังไง
คืนค่า: this.bytesWritten != 0L.
Parameters
- ไม่มี