1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
Slimefun4/docs/me/mrCookieSlime/Slimefun/api/PlayerProfile.html

660 lines
31 KiB
HTML
Raw Normal View History

2020-03-05 20:28:50 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
2020-03-10 21:13:07 +00:00
<!-- Generated by javadoc (1.8.0_111) on Tue Mar 10 22:10:20 CET 2020 -->
2020-03-05 20:28:50 +00:00
<title>PlayerProfile</title>
2020-03-10 00:49:55 +00:00
<meta name="date" content="2020-03-10">
2020-03-05 20:28:50 +00:00
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PlayerProfile";
}
}
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";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="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-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../me/mrCookieSlime/Slimefun/api/GuideHandler.html" title="interface in me.mrCookieSlime.Slimefun.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../me/mrCookieSlime/Slimefun/api/Slimefun.html" title="class in me.mrCookieSlime.Slimefun.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?me/mrCookieSlime/Slimefun/api/PlayerProfile.html" target="_top">Frames</a></li>
<li><a href="PlayerProfile.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">me.mrCookieSlime.Slimefun.api</div>
<h2 title="Class PlayerProfile" class="title">Class PlayerProfile</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>me.mrCookieSlime.Slimefun.api.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 java.lang.Object</pre>
2020-03-10 00:49:55 +00:00
<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>
2020-03-05 20:28:50 +00:00
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>TheBusyBiscuit</dd>
2020-03-10 00:49:55 +00:00
<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>
2020-03-05 20:28:50 +00:00
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and 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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#createBackpack-int-">createBackpack</a></span>(int&nbsp;size)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static java.util.Optional&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;p)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#fromUUID-java.util.UUID-">fromUUID</a></span>(java.util.UUID&nbsp;uuid)</code>
<div class="block">This is now deprecated, use <a href="../../../../me/mrCookieSlime/Slimefun/api/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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#fromUUID-java.util.UUID-java.util.function.Consumer-">fromUUID</a></span>(java.util.UUID&nbsp;uuid,
java.util.function.Consumer&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;&nbsp;callback)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;p)</code>
<div class="block">This is now deprecated, use <a href="../../../../me/mrCookieSlime/Slimefun/api/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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;p,
java.util.function.Consumer&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;&nbsp;callback)</code>
<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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getArmor--">getArmor</a></span>()</code>&nbsp;</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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getBackpack-int-">getBackpack</a></span>(int&nbsp;id)</code>&nbsp;</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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;item)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>io.github.thebusybiscuit.cscorelib2.config.Config</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getConfig--">getConfig</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.util.LinkedList&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getGuideHistory--">getGuideHistory</a></span>()</code>&nbsp;</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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getPlayer--">getPlayer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getResearches--">getResearches</a></span>()</code>
<div class="block">This Method will return all Researches that this Player has unlocked</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getTitle--">getTitle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.util.UUID</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#getUUID--">getUUID</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;research)</code>
<div class="block">This method returns whether the Player has unlocked the given Research</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#isDirty--">isDirty</a></span>()</code>
<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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#isLoaded-java.util.UUID-">isLoaded</a></span>(java.util.UUID&nbsp;uuid)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#isMarkedForDeletion--">isMarkedForDeletion</a></span>()</code>
<div class="block">This method returns whether the Player has logged off.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static java.util.Iterator&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#iterator--">iterator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#markDirty--">markDirty</a></span>()</code>
<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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#markForDeletion--">markForDeletion</a></span>()</code>
<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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#save--">save</a></span>()</code>
<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>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;sender)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/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>&nbsp;research,
boolean&nbsp;unlock)</code>
<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>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getArmor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getArmor</h4>
<pre>public&nbsp;<a href="../../../../io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.html" title="class in io.github.thebusybiscuit.slimefun4.api.items">HashedArmorpiece</a>[]&nbsp;getArmor()</pre>
</li>
</ul>
<a name="getConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfig</h4>
<pre>public&nbsp;io.github.thebusybiscuit.cscorelib2.config.Config&nbsp;getConfig()</pre>
</li>
</ul>
<a name="getUUID--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUUID</h4>
<pre>public&nbsp;java.util.UUID&nbsp;getUUID()</pre>
</li>
</ul>
<a name="isMarkedForDeletion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMarkedForDeletion</h4>
<pre>public&nbsp;boolean&nbsp;isMarkedForDeletion()</pre>
<div class="block">This method returns whether the Player 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 name="isDirty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirty</h4>
<pre>public&nbsp;boolean&nbsp;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 name="save--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>save</h4>
<pre>public&nbsp;void&nbsp;save()</pre>
<div class="block">This method will save the Player's Researches and Backpacks to the hard drive</div>
</li>
</ul>
<a name="setResearched-me.mrCookieSlime.Slimefun.Objects.Research-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResearched</h4>
<pre>public&nbsp;void&nbsp;setResearched(<a href="../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a>&nbsp;research,
boolean&nbsp;unlock)</pre>
<div class="block">This method sets the Player's "researched" status for this Research.
Use the boolean to unlock or lock the Research</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>research</code> - The Research that should be unlocked or locked</dd>
<dd><code>unlock</code> - Whether the Research should be unlocked or locked</dd>
</dl>
</li>
</ul>
<a name="hasUnlocked-me.mrCookieSlime.Slimefun.Objects.Research-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasUnlocked</h4>
<pre>public&nbsp;boolean&nbsp;hasUnlocked(<a href="../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a>&nbsp;research)</pre>
<div class="block">This method returns whether the Player has unlocked the given Research</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>research</code> - The Research that is being queried</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether this Research has been unlocked</dd>
</dl>
</li>
</ul>
<a name="getResearches--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResearches</h4>
<pre>public&nbsp;java.util.Set&lt;<a href="../../../../me/mrCookieSlime/Slimefun/Objects/Research.html" title="class in me.mrCookieSlime.Slimefun.Objects">Research</a>&gt;&nbsp;getResearches()</pre>
<div class="block">This Method will return all Researches that this Player has unlocked</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A Hashset<Research> of all Researches this Player has unlocked</dd>
</dl>
</li>
</ul>
<a name="markForDeletion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>markForDeletion</h4>
<pre>public&nbsp;void&nbsp;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 name="markDirty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>markDirty</h4>
<pre>public&nbsp;void&nbsp;markDirty()</pre>
<div class="block">Call this method if this Profile has unsaved changes.</div>
</li>
</ul>
<a name="createBackpack-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBackpack</h4>
<pre>public&nbsp;<a href="../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a>&nbsp;createBackpack(int&nbsp;size)</pre>
</li>
</ul>
<a name="getBackpack-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackpack</h4>
<pre>public&nbsp;<a href="../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a>&nbsp;getBackpack(int&nbsp;id)</pre>
</li>
</ul>
<a name="getTitle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTitle</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTitle()</pre>
</li>
</ul>
<a name="sendStats-org.bukkit.command.CommandSender-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendStats</h4>
<pre>public&nbsp;void&nbsp;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>&nbsp;sender)</pre>
</li>
</ul>
<a name="getPlayer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlayer</h4>
<pre>public&nbsp;<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>&nbsp;getPlayer()</pre>
</li>
</ul>
<a name="getGuideHistory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGuideHistory</h4>
<pre>public&nbsp;java.util.LinkedList&lt;java.lang.Object&gt;&nbsp;getGuideHistory()</pre>
</li>
</ul>
<a name="fromUUID-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromUUID</h4>
<pre>public static&nbsp;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&nbsp;fromUUID(java.util.UUID&nbsp;uuid)</pre>
<div class="block">This is now deprecated, use <a href="../../../../me/mrCookieSlime/Slimefun/api/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 name="fromUUID-java.util.UUID-java.util.function.Consumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromUUID</h4>
<pre>public static&nbsp;boolean&nbsp;fromUUID(java.util.UUID&nbsp;uuid,
java.util.function.Consumer&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;&nbsp;callback)</pre>
</li>
</ul>
<a name="get-org.bukkit.OfflinePlayer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&nbsp;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>&nbsp;p)</pre>
<div class="block">This is now deprecated, use <a href="../../../../me/mrCookieSlime/Slimefun/api/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 name="get-org.bukkit.OfflinePlayer-java.util.function.Consumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;boolean&nbsp;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>&nbsp;p,
java.util.function.Consumer&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;&nbsp;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 name="isLoaded-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLoaded</h4>
<pre>public static&nbsp;boolean&nbsp;isLoaded(java.util.UUID&nbsp;uuid)</pre>
</li>
</ul>
<a name="find-org.bukkit.OfflinePlayer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;java.util.Optional&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;&nbsp;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>&nbsp;p)</pre>
</li>
</ul>
<a name="iterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>public static&nbsp;java.util.Iterator&lt;<a href="../../../../me/mrCookieSlime/Slimefun/api/PlayerProfile.html" title="class in me.mrCookieSlime.Slimefun.api">PlayerProfile</a>&gt;&nbsp;iterator()</pre>
</li>
</ul>
<a name="getBackpack-org.bukkit.inventory.ItemStack-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackpack</h4>
<pre>public static&nbsp;<a href="../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerBackpack.html" title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerBackpack</a>&nbsp;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>&nbsp;item)</pre>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="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-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../me/mrCookieSlime/Slimefun/api/GuideHandler.html" title="interface in me.mrCookieSlime.Slimefun.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../me/mrCookieSlime/Slimefun/api/Slimefun.html" title="class in me.mrCookieSlime.Slimefun.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?me/mrCookieSlime/Slimefun/api/PlayerProfile.html" target="_top">Frames</a></li>
<li><a href="PlayerProfile.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>