Skip to content

Commit

Permalink
deploy: 8071e81
Browse files Browse the repository at this point in the history
  • Loading branch information
mpewsey committed Jan 11, 2025
1 parent 6dd85ef commit 459c493
Showing 17 changed files with 169 additions and 51 deletions.
32 changes: 19 additions & 13 deletions _sturdy_path_ref_8cs_source.html
Original file line number Diff line number Diff line change
@@ -207,26 +207,32 @@
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keywordflow">return</span> ResourceLoader.Exists(<a class="code hl_property" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a45a1edf30521e856c66a5fcdd0736fcf">UidPath</a>, typeHint) ? <a class="code hl_property" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a45a1edf30521e856c66a5fcdd0736fcf">UidPath</a> : <a class="code hl_property" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#aa9dafb6e480f1d61eb50585a094baacb">ResPath</a>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> }</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a082cd62c43e6b9e294d8fb851765693e"> 164</a></span> <span class="keyword">public</span> Resource <a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a082cd62c43e6b9e294d8fb851765693e">Load</a>(<span class="keywordtype">string</span> typeHint = <span class="keyword">null</span>, ResourceLoader.CacheMode cacheMode = ResourceLoader.CacheMode.Reuse)</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> {</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keywordflow">return</span> ResourceLoader.Load(<a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a3d665ebae284fbfdd65cc6a31c93c5af">GetLoadPath</a>(typeHint), typeHint, cacheMode);</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> }</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a17daee0ad0af91cf977545764c54ce8a"> 173</a></span> <span class="keyword">public</span> T <a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a17daee0ad0af91cf977545764c54ce8a">Load&lt;T&gt;</a>(<span class="keywordtype">string</span> typeHint = <span class="keyword">null</span>, ResourceLoader.CacheMode cacheMode = ResourceLoader.CacheMode.Reuse) where T : class</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> {</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <span class="keywordflow">return</span> ResourceLoader.Load&lt;T&gt;(<a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a3d665ebae284fbfdd65cc6a31c93c5af">GetLoadPath</a>(typeHint), typeHint, cacheMode);</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> }</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> }</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span>}</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a699b0b817c3bd408d0a30ac9044f1932"> 163</a></span> <span class="keyword">public</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a699b0b817c3bd408d0a30ac9044f1932">PathExists</a>()</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> {</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="keywordflow">return</span> ResourceLoader.Exists(<a class="code hl_property" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a45a1edf30521e856c66a5fcdd0736fcf">UidPath</a>) || ResourceLoader.Exists(<a class="code hl_property" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#aa9dafb6e480f1d61eb50585a094baacb">ResPath</a>);</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> }</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a082cd62c43e6b9e294d8fb851765693e"> 172</a></span> <span class="keyword">public</span> Resource <a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a082cd62c43e6b9e294d8fb851765693e">Load</a>(<span class="keywordtype">string</span> typeHint = <span class="keyword">null</span>, ResourceLoader.CacheMode cacheMode = ResourceLoader.CacheMode.Reuse)</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> {</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> ResourceLoader.Load(<a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a3d665ebae284fbfdd65cc6a31c93c5af">GetLoadPath</a>(typeHint), typeHint, cacheMode);</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> }</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a17daee0ad0af91cf977545764c54ce8a"> 181</a></span> <span class="keyword">public</span> T <a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a17daee0ad0af91cf977545764c54ce8a">Load&lt;T&gt;</a>(<span class="keywordtype">string</span> typeHint = <span class="keyword">null</span>, ResourceLoader.CacheMode cacheMode = ResourceLoader.CacheMode.Reuse) where T : class</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> {</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">return</span> ResourceLoader.Load&lt;T&gt;(<a class="code hl_function" href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a3d665ebae284fbfdd65cc6a31c93c5af">GetLoadPath</a>(typeHint), typeHint, cacheMode);</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> }</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> }</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span>}</div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html">MPewsey.SturdyPath.SturdyPathRef</a></div><div class="ttdoc">Holds resource path references in a way that prevents path invalidation when files are moved within a...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00011">SturdyPathRef.cs:12</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a082cd62c43e6b9e294d8fb851765693e"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a082cd62c43e6b9e294d8fb851765693e">MPewsey.SturdyPath.SturdyPathRef.Load</a></div><div class="ttdeci">Resource Load(string typeHint=null, ResourceLoader.CacheMode cacheMode=ResourceLoader.CacheMode.Reuse)</div><div class="ttdoc">Loads the target resource and returns it. See the Godot ResourceLoader.Load method for an explainatio...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00164">SturdyPathRef.cs:164</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a082cd62c43e6b9e294d8fb851765693e"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a082cd62c43e6b9e294d8fb851765693e">MPewsey.SturdyPath.SturdyPathRef.Load</a></div><div class="ttdeci">Resource Load(string typeHint=null, ResourceLoader.CacheMode cacheMode=ResourceLoader.CacheMode.Reuse)</div><div class="ttdoc">Loads the target resource and returns it. See the Godot ResourceLoader.Load method for an explainatio...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00172">SturdyPathRef.cs:172</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a0a09e5aa1e62461ddf543866aea3e921"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a0a09e5aa1e62461ddf543866aea3e921">MPewsey.SturdyPath.SturdyPathRef.RefreshResourcePath</a></div><div class="ttdeci">bool RefreshResourcePath(bool run=true)</div><div class="ttdoc">Updates the resource path to its current destination based on the current Uid path....</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00091">SturdyPathRef.cs:91</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a17daee0ad0af91cf977545764c54ce8a"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a17daee0ad0af91cf977545764c54ce8a">MPewsey.SturdyPath.SturdyPathRef.Load&lt; T &gt;</a></div><div class="ttdeci">T Load&lt; T &gt;(string typeHint=null, ResourceLoader.CacheMode cacheMode=ResourceLoader.CacheMode.Reuse)</div><div class="ttdoc">Loads the target resource and returns it. See the Godot ResourceLoader.Load method for an explainatio...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00173">SturdyPathRef.cs:173</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a17daee0ad0af91cf977545764c54ce8a"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a17daee0ad0af91cf977545764c54ce8a">MPewsey.SturdyPath.SturdyPathRef.Load&lt; T &gt;</a></div><div class="ttdeci">T Load&lt; T &gt;(string typeHint=null, ResourceLoader.CacheMode cacheMode=ResourceLoader.CacheMode.Reuse)</div><div class="ttdoc">Loads the target resource and returns it. See the Godot ResourceLoader.Load method for an explainatio...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00181">SturdyPathRef.cs:181</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a3d665ebae284fbfdd65cc6a31c93c5af"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a3d665ebae284fbfdd65cc6a31c93c5af">MPewsey.SturdyPath.SturdyPathRef.GetLoadPath</a></div><div class="ttdeci">string GetLoadPath(string typeHint=null)</div><div class="ttdoc">Returns the controlling resource load path. If the Uid path exists, then it is returned....</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00155">SturdyPathRef.cs:155</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a45a1edf30521e856c66a5fcdd0736fcf"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a45a1edf30521e856c66a5fcdd0736fcf">MPewsey.SturdyPath.SturdyPathRef.UidPath</a></div><div class="ttdeci">string UidPath</div><div class="ttdoc">The Uid path for the target resource, beginning with uid://. This path should never become invalid un...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00041">SturdyPathRef.cs:41</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a52827c00253a20b4d23077f5d402170e"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a52827c00253a20b4d23077f5d402170e">MPewsey.SturdyPath.SturdyPathRef.SturdyPathRef</a></div><div class="ttdeci">SturdyPathRef(string resPath)</div><div class="ttdoc">Creates a new sturdy path.</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00052">SturdyPathRef.cs:52</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a5b27376800f54c862ac710cc65936a24"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a5b27376800f54c862ac710cc65936a24">MPewsey.SturdyPath.SturdyPathRef.GetUidPath</a></div><div class="ttdeci">static string GetUidPath(string resPath)</div><div class="ttdoc">Returns the Uid path corresponding to the specified resource path.</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00080">SturdyPathRef.cs:80</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a5dd75a0f9e722c757a41935133e8d107"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a5dd75a0f9e722c757a41935133e8d107">MPewsey.SturdyPath.SturdyPathRef.SetResPath</a></div><div class="ttdeci">void SetResPath(string value)</div><div class="ttdoc">Sets the resource path to the specified value and sets the corresponding Uid path.</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00070">SturdyPathRef.cs:70</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a699b0b817c3bd408d0a30ac9044f1932"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a699b0b817c3bd408d0a30ac9044f1932">MPewsey.SturdyPath.SturdyPathRef.PathExists</a></div><div class="ttdeci">bool PathExists()</div><div class="ttdoc">Returns true if either the Uid path of Res path exist.</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00163">SturdyPathRef.cs:163</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_a9601718a5dd84e154e7f489f8ac2b4f1"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#a9601718a5dd84e154e7f489f8ac2b4f1">MPewsey.SturdyPath.SturdyPathRef.OpenResource</a></div><div class="ttdeci">bool OpenResource</div><div class="ttdoc">This property is used as a Godot inspector button only and should not be used via script....</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00023">SturdyPathRef.cs:23</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_aa9dafb6e480f1d61eb50585a094baacb"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#aa9dafb6e480f1d61eb50585a094baacb">MPewsey.SturdyPath.SturdyPathRef.ResPath</a></div><div class="ttdeci">string ResPath</div><div class="ttdoc">The target resource path, beginning with with res://. This path may become invalid if the target reso...</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00036">SturdyPathRef.cs:36</a></div></div>
<div class="ttc" id="aclass_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref_html_abe0f624dd84799e13f0161d1ccf457c3"><div class="ttname"><a href="class_m_pewsey_1_1_sturdy_path_1_1_sturdy_path_ref.html#abe0f624dd84799e13f0161d1ccf457c3">MPewsey.SturdyPath.SturdyPathRef.ResPathExtensions</a></div><div class="ttdeci">const string ResPathExtensions</div><div class="ttdoc">The valid resource path extensions.</div><div class="ttdef"><b>Definition:</b> <a href="_sturdy_path_ref_8cs_source.html#l00016">SturdyPathRef.cs:16</a></div></div>
Loading

0 comments on commit 459c493

Please sign in to comment.