mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
730 lines
42 KiB
HTML
730 lines
42 KiB
HTML
|
<!DOCTYPE HTML>
|
||
|
<!-- NewPage -->
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<!-- Generated by javadoc (9.0.4.1) on Sat Mar 21 18:04:40 UTC 2020 -->
|
||
|
<title>PlayerProfile (Slimefun4 - Javadocs)</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<meta name="dc.created" content="2020-03-21">
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style">
|
||
|
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||
|
<script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
||
|
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||
|
<!--[if IE]>
|
||
|
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||
|
<![endif]-->
|
||
|
<script type="text/javascript" src="../../../../../../jquery/jquery-1.10.2.js"></script>
|
||
|
<script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type="text/javascript"><!--
|
||
|
try {
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="PlayerProfile (Slimefun4 - Javadocs)";
|
||
|
}
|
||
|
}
|
||
|
catch(err) {
|
||
|
}
|
||
|
//-->
|
||
|
var methods = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":9,"i18":10,"i19":9,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10};
|
||
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||
|
var altColor = "altColor";
|
||
|
var rowColor = "rowColor";
|
||
|
var tableTab = "tableTab";
|
||
|
var activeTableTab = "activeTableTab";
|
||
|
var pathtoroot = "../../../../../../";loadScripts(document, 'script');</script>
|
||
|
<noscript>
|
||
|
<div>JavaScript is disabled on your browser.</div>
|
||
|
</noscript>
|
||
|
<header role="banner">
|
||
|
<nav role="navigation">
|
||
|
<div class="fixedNav">
|
||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
|
<div class="topNav"><a id="navbar.top">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||
|
<a id="navbar.top.firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="package-summary.html">Package</a></li>
|
||
|
<li class="navBarCell1Rev">Class</li>
|
||
|
<li><a href="class-use/PlayerProfile.html">Use</a></li>
|
||
|
<li><a href="package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player"><span class="typeNameLink">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/StatusEffect.html" title="class in io.github.thebusybiscuit.slimefun4.api.player"><span class="typeNameLink">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../../index.html?io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" target="_top">Frames</a></li>
|
||
|
<li><a href="PlayerProfile.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_top">
|
||
|
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<ul class="navListSearch">
|
||
|
<li><span>SEARCH: </span>
|
||
|
<input type="text" id="search" value=" " disabled="disabled">
|
||
|
<input type="reset" id="reset" value=" " disabled="disabled">
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
<noscript>
|
||
|
<div>JavaScript is disabled on your browser.</div>
|
||
|
</noscript>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="subNavList">
|
||
|
<li>Summary: </li>
|
||
|
<li>Nested | </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method.summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method.detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a id="skip.navbar.top">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
</div>
|
||
|
<div class="navPadding"> </div>
|
||
|
<script type="text/javascript"><!--
|
||
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||
|
//-->
|
||
|
</script>
|
||
|
</nav>
|
||
|
</header>
|
||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||
|
<main role="main">
|
||
|
<div class="header">
|
||
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/package-summary.html">io.github.thebusybiscuit.slimefun4.api.player</a></div>
|
||
|
<h2 title="Class PlayerProfile" class="title">Class PlayerProfile</h2>
|
||
|
</div>
|
||
|
<div class="contentContainer">
|
||
|
<ul class="inheritance">
|
||
|
<li><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||
|
<li>
|
||
|
<ul class="inheritance">
|
||
|
<li>io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div class="description">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<hr>
|
||
|
<br>
|
||
|
<pre>public final class <span class="typeNameLabel">PlayerProfile</span>
|
||
|
extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||
|
<div class="block">A class that can store a Player's <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a> progress for caching purposes.
|
||
|
It also holds the backpacks of a <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a>.</div>
|
||
|
<dl>
|
||
|
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||
|
<dd>TheBusyBiscuit</dd>
|
||
|
<dt><span class="seeLabel">See Also:</span></dt>
|
||
|
<dd><a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a>,
|
||
|
<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player"><code>PlayerBackpack</code></a></dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="summary">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
<section role="region">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a id="method.summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Summary</h3>
|
||
|
<table class="memberSummary">
|
||
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||
|
<tr>
|
||
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
|
<th class="colSecond" scope="col">Method</th>
|
||
|
<th class="colLast" scope="col">Description</th>
|
||
|
</tr>
|
||
|
<tr id="i0" class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#createBackpack-int-">createBackpack</a></span>​(int size)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i1" class="rowColor">
|
||
|
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#find-org.bukkit.OfflinePlayer-">find</a></span>​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/OfflinePlayer.html?is-external=true" title="class or interface in org.bukkit">OfflinePlayer</a> p)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i2" class="altColor">
|
||
|
<td class="colFirst"><code>static <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#fromUUID-java.util.UUID-">fromUUID</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> uuid)</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This is now deprecated, use <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#fromUUID-java.util.UUID-java.util.function.Consumer-"><code>fromUUID(UUID, Consumer)</code></a> instead</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i3" class="rowColor">
|
||
|
<td class="colFirst"><code>static boolean</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#fromUUID-java.util.UUID-java.util.function.Consumer-">fromUUID</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> uuid,
|
||
|
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>> callback)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i4" class="altColor">
|
||
|
<td class="colFirst"><code>static <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#get-org.bukkit.OfflinePlayer-">get</a></span>​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/OfflinePlayer.html?is-external=true" title="class or interface in org.bukkit">OfflinePlayer</a> p)</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This is now deprecated, use <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#get-org.bukkit.OfflinePlayer-java.util.function.Consumer-"><code>get(OfflinePlayer, Consumer)</code></a> instead</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i5" class="rowColor">
|
||
|
<td class="colFirst"><code>static boolean</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#get-org.bukkit.OfflinePlayer-java.util.function.Consumer-">get</a></span>​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/OfflinePlayer.html?is-external=true" title="class or interface in org.bukkit">OfflinePlayer</a> p,
|
||
|
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>> callback)</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">Get the PlayerProfile for a player asynchronously.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i6" class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.html" title="class in io.github.thebusybiscuit.slimefun4.api.items">HashedArmorpiece</a>[]</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getArmor--">getArmor</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i7" class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getBackpack-int-">getBackpack</a></span>​(int id)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i8" class="altColor">
|
||
|
<td class="colFirst"><code>static <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getBackpack-org.bukkit.inventory.ItemStack-">getBackpack</a></span>​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a> item)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i9" class="rowColor">
|
||
|
<td class="colFirst"><code>io.github.thebusybiscuit.cscorelib2.config.Config</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getConfig--">getConfig</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i10" class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.html" title="class in io.github.thebusybiscuit.slimefun4.core.guide">GuideHistory</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getGuideHistory--">getGuideHistory</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i11" class="rowColor">
|
||
|
<td class="colFirst"><code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity">Player</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getPlayer--">getPlayer</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i12" class="altColor">
|
||
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a>></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getResearches--">getResearches</a></span>​()</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This Method will return all Researches that this <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has unlocked</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i13" class="rowColor">
|
||
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getTitle--">getTitle</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i14" class="altColor">
|
||
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#getUUID--">getUUID</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i15" class="rowColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#hasUnlocked-me.mrCookieSlime.Slimefun.Objects.Research-">hasUnlocked</a></span>​(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a> research)</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This method returns whether the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has unlocked the given <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a></div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i16" class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#isDirty--">isDirty</a></span>​()</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This method returns whether the Profile has unsaved changes</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i17" class="rowColor">
|
||
|
<td class="colFirst"><code>static boolean</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#isLoaded-java.util.UUID-">isLoaded</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> uuid)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i18" class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#isMarkedForDeletion--">isMarkedForDeletion</a></span>​()</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This method returns whether the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has logged off.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i19" class="rowColor">
|
||
|
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#iterator--">iterator</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i20" class="altColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#markDirty--">markDirty</a></span>​()</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">Call this method if this Profile has unsaved changes.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i21" class="rowColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#markForDeletion--">markForDeletion</a></span>​()</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">Call this method if the Player has left.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i22" class="altColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#save--">save</a></span>​()</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This method will save the Player's Researches and Backpacks to the hard drive</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i23" class="rowColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#sendStats-org.bukkit.command.CommandSender-">sendStats</a></span>​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/command/CommandSender.html?is-external=true" title="class or interface in org.bukkit.command">CommandSender</a> sender)</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
<tr id="i24" class="altColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#setResearched-me.mrCookieSlime.Slimefun.Objects.Research-boolean-">setResearched</a></span>​(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a> research,
|
||
|
boolean unlock)</code></th>
|
||
|
<td class="colLast">
|
||
|
<div class="block">This method sets the Player's "researched" status for this Research.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr id="i25" class="rowColor">
|
||
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#toString--">toString</a></span>​()</code></th>
|
||
|
<td class="colLast"> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||
|
<code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</section>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="details">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
<section role="region">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a id="method.detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Detail</h3>
|
||
|
<a id="getArmor--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getArmor</h4>
|
||
|
<pre>public <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.html" title="class in io.github.thebusybiscuit.slimefun4.api.items">HashedArmorpiece</a>[] getArmor​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getConfig--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getConfig</h4>
|
||
|
<pre>public io.github.thebusybiscuit.cscorelib2.config.Config getConfig​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getUUID--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getUUID</h4>
|
||
|
<pre>public <a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> getUUID​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="isMarkedForDeletion--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>isMarkedForDeletion</h4>
|
||
|
<pre>public boolean isMarkedForDeletion​()</pre>
|
||
|
<div class="block">This method returns whether the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has logged off.
|
||
|
If this is true, then the Profile can be removed from RAM.</div>
|
||
|
<dl>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>Whether the Profile is marked for deletion</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="isDirty--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>isDirty</h4>
|
||
|
<pre>public boolean isDirty​()</pre>
|
||
|
<div class="block">This method returns whether the Profile has unsaved changes</div>
|
||
|
<dl>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>Whether there are unsaved changes</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="save--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>save</h4>
|
||
|
<pre>public void save​()</pre>
|
||
|
<div class="block">This method will save the Player's Researches and Backpacks to the hard drive</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="setResearched-me.mrCookieSlime.Slimefun.Objects.Research-boolean-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setResearched</h4>
|
||
|
<pre>public void setResearched​(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a> research,
|
||
|
boolean unlock)</pre>
|
||
|
<div class="block">This method sets the Player's "researched" status for this Research.
|
||
|
Use the boolean to unlock or lock the <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a></div>
|
||
|
<dl>
|
||
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
|
<dd><code>research</code> - The <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a> that should be unlocked or locked</dd>
|
||
|
<dd><code>unlock</code> - Whether the <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a> should be unlocked or locked</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="hasUnlocked-me.mrCookieSlime.Slimefun.Objects.Research-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>hasUnlocked</h4>
|
||
|
<pre>public boolean hasUnlocked​(<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a> research)</pre>
|
||
|
<div class="block">This method returns whether the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has unlocked the given <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a></div>
|
||
|
<dl>
|
||
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
|
<dd><code>research</code> - The <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a> that is being queried</dd>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>Whether this <a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects"><code>Research</code></a> has been unlocked</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getResearches--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getResearches</h4>
|
||
|
<pre>public <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a>> getResearches​()</pre>
|
||
|
<div class="block">This Method will return all Researches that this <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has unlocked</div>
|
||
|
<dl>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>A <code>Hashset<Research></code> of all Researches this <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity"><code>Player</code></a> has unlocked</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="markForDeletion--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>markForDeletion</h4>
|
||
|
<pre>public void markForDeletion​()</pre>
|
||
|
<div class="block">Call this method if the Player has left.
|
||
|
The profile can then be removed from RAM.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="markDirty--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>markDirty</h4>
|
||
|
<pre>public void markDirty​()</pre>
|
||
|
<div class="block">Call this method if this Profile has unsaved changes.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="createBackpack-int-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>createBackpack</h4>
|
||
|
<pre>public <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a> createBackpack​(int size)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getBackpack-int-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getBackpack</h4>
|
||
|
<pre>public <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a> getBackpack​(int id)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getTitle--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getTitle</h4>
|
||
|
<pre>public <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTitle​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="sendStats-org.bukkit.command.CommandSender-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>sendStats</h4>
|
||
|
<pre>public void sendStats​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/command/CommandSender.html?is-external=true" title="class or interface in org.bukkit.command">CommandSender</a> sender)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getPlayer--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getPlayer</h4>
|
||
|
<pre>public <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true" title="class or interface in org.bukkit.entity">Player</a> getPlayer​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getGuideHistory--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getGuideHistory</h4>
|
||
|
<pre>public <a href="../../../../../../io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.html" title="class in io.github.thebusybiscuit.slimefun4.core.guide">GuideHistory</a> getGuideHistory​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="fromUUID-java.util.UUID-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>fromUUID</h4>
|
||
|
<pre>public static <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a> fromUUID​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> uuid)</pre>
|
||
|
<div class="block">This is now deprecated, use <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#fromUUID-java.util.UUID-java.util.function.Consumer-"><code>fromUUID(UUID, Consumer)</code></a> instead</div>
|
||
|
<dl>
|
||
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> - The UUID of the profile you are trying to retrieve.</dd>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>The PlayerProfile of this player</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="fromUUID-java.util.UUID-java.util.function.Consumer-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>fromUUID</h4>
|
||
|
<pre>public static boolean fromUUID​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> uuid,
|
||
|
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>> callback)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="get-org.bukkit.OfflinePlayer-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>get</h4>
|
||
|
<pre>public static <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a> get​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/OfflinePlayer.html?is-external=true" title="class or interface in org.bukkit">OfflinePlayer</a> p)</pre>
|
||
|
<div class="block">This is now deprecated, use <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html#get-org.bukkit.OfflinePlayer-java.util.function.Consumer-"><code>get(OfflinePlayer, Consumer)</code></a> instead</div>
|
||
|
<dl>
|
||
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
|
<dd><code>p</code> - The player's profile you wish to retrieve</dd>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>The PlayerProfile of this player</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="get-org.bukkit.OfflinePlayer-java.util.function.Consumer-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>get</h4>
|
||
|
<pre>public static boolean get​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/OfflinePlayer.html?is-external=true" title="class or interface in org.bukkit">OfflinePlayer</a> p,
|
||
|
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>> callback)</pre>
|
||
|
<div class="block">Get the PlayerProfile for a player asynchronously.</div>
|
||
|
<dl>
|
||
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
|
<dd><code>p</code> - The player who's profile to retrieve</dd>
|
||
|
<dd><code>callback</code> - The callback with the PlayerProfile</dd>
|
||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||
|
<dd>If the player was cached or not.</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="isLoaded-java.util.UUID-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>isLoaded</h4>
|
||
|
<pre>public static boolean isLoaded​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> uuid)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="find-org.bukkit.OfflinePlayer-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>find</h4>
|
||
|
<pre>public static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>> find​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/OfflinePlayer.html?is-external=true" title="class or interface in org.bukkit">OfflinePlayer</a> p)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="iterator--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>iterator</h4>
|
||
|
<pre>public static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a>> iterator​()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="getBackpack-org.bukkit.inventory.ItemStack-">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getBackpack</h4>
|
||
|
<pre>public static <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a> getBackpack​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a> item)</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a id="toString--">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>toString</h4>
|
||
|
<pre>public <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString​()</pre>
|
||
|
<dl>
|
||
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||
|
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</section>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</main>
|
||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||
|
<footer role="contentinfo">
|
||
|
<nav role="navigation">
|
||
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
|
<div class="bottomNav"><a id="navbar.bottom">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||
|
<a id="navbar.bottom.firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="package-summary.html">Package</a></li>
|
||
|
<li class="navBarCell1Rev">Class</li>
|
||
|
<li><a href="class-use/PlayerProfile.html">Use</a></li>
|
||
|
<li><a href="package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player"><span class="typeNameLink">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/StatusEffect.html" title="class in io.github.thebusybiscuit.slimefun4.api.player"><span class="typeNameLink">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../../index.html?io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html" target="_top">Frames</a></li>
|
||
|
<li><a href="PlayerProfile.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_bottom">
|
||
|
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
<noscript>
|
||
|
<div>JavaScript is disabled on your browser.</div>
|
||
|
</noscript>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="subNavList">
|
||
|
<li>Summary: </li>
|
||
|
<li>Nested | </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method.summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method.detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a id="skip.navbar.bottom">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
</nav>
|
||
|
<p class="legalCopy"><small>Copyright © 2020. All rights reserved.</small></p>
|
||
|
</footer>
|
||
|
</body>
|
||
|
</html>
|