Files
KSpigot/docs/-k-spigot/net.axay.kspigot.data/-n-b-t-data/get.html
2020-10-16 16:06:52 +02:00

54 lines
4.5 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>get</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<link href="../../../styles/style.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/platformContentHandler.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
<script>var pathToRoot = "../../../";</script>
</head>
<body>
<div id="container">
<div id="leftColumn">
<div id="logo"></div>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div id="searchBar"></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
<div id="content" pageIds="net.axay.kspigot.data/NBTData/get/#kotlin.String#net.axay.kspigot.data.NBTDataType[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/">
<div class="breadcrumbs"><a href="../../index.html">KSpigot</a>/<a href="../index.html">net.axay.kspigot.data</a>/<a href="index.html">NBTData</a>/<a href="get.html">get</a></div>
<div class="cover ">
<h1 class="cover"><a data-name="get"></a><span>get</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="brief-with-platform-tags"><div class="inner-brief-with-platform-tags"><p class="paragraph">This method gets the value at the given <span data-unresolved-link="net.axay.kspigot.data/NBTData/key/#/PointingToCallableParameters(-1)/">key</span>. The returned <span data-unresolved-link="net.axay.kspigot.data/NBTData/dataType/#/PointingToCallableParameters(-1)/">dataType</span> must be specified. The returned value is null, if it was not possible to find any value at the specified location, or if the type is not the one which was specified.</p></div>
<span class="pull-right"></span></div>
<div class="main-subrow">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dokkaHtml/main"><div class="symbol "><div class="symbol monospace">operator fun &lt;<a href="get.html">T</a>&gt; <a href="get.html">get</a>(key: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, dataType: <a href="../-n-b-t-data-type/index.html">NBTDataType</a>&lt;<a href="get.html">T</a>&gt;): <a href="get.html">T</a>?<span class="top-right-position"><span class="copy-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 4H15V16H5V4ZM17 7H19V18V20H17H8V18H17V7Z" fill="black"/>
</svg></span><div class="copy-popup-wrapper popup-to-left"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 9C18 14 14 18 9 18C4 18 0 14 0 9C0 4 4 0 9 0C14 0 18 4 18 9ZM14.2 6.2L12.8 4.8L7.5 10.1L5.3 7.8L3.8 9.2L7.5 13L14.2 6.2Z" fill="#4DBB5F"/>
</svg><span>Content copied to clipboard</span></div></span></div></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#container"><svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.3337 9.66683H0.666992L6.00033 3.66683L11.3337 9.66683Z" fill="black"/>
<path d="M0.666992 0.333496H11.3337V1.66683H0.666992V0.333496Z" fill="black"/>
</svg></a></span><span>© 2020 Copyright</span><span class="pull-right"><span>Sponsored and developed by dokka</span><a href="https://github.com/Kotlin/dokka"><span class="padded-icon"><svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0H2.3949L4.84076 2.44586L0 7.28662L0.713376 8L5.55414 3.15924L8 5.6051V0Z" fill="black"/>
</svg></span></a></span></div>
</div>
</div>
</body>
</html>