You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

197 lines
9.7 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title> </title>
  8. <meta name="viewport" content="width=device-width">
  9. <meta name="title" content=" ">
  10. <meta name="generator" content="docfx 2.59.4.0">
  11. <link rel="shortcut icon" href="../favicon.ico">
  12. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  13. <link rel="stylesheet" href="../styles/docfx.css">
  14. <link rel="stylesheet" href="../styles/main.css">
  15. <link rel="stylesheet" href="../styles/fix.css">
  16. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  17. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../">
  20. <meta property="docfx:newtab" content="true">
  21. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../index.html">
  34. <img id="logo" class="svg" src="../logo.svg" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="IPA.Utilities">
  73. <h1 id="IPA_Utilities" data-uid="IPA.Utilities" class="text-break"></h1>
  74. <div class="markdown level0 summary"></div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="markdown level0 remarks"></div>
  77. <h3 id="classes">Classes
  78. </h3>
  79. <h4><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></h4>
  80. <section><p>A type that wraps <span class="xref">Hive.Versioning.Version</span> so that the string of the version is stored when the string is
  81. not a valid <span class="xref">Hive.Versioning.Version</span>.</p>
  82. </section>
  83. <h4><a class="xref" href="IPA.Utilities.AlmostVersionConverter.html">AlmostVersionConverter</a></h4>
  84. <section><p>A <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter&lt;T&gt;</a> for <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a>s.</p>
  85. </section>
  86. <h4><a class="xref" href="IPA.Utilities.CriticalSection.html">CriticalSection</a></h4>
  87. <section><p>Provides utilities for managing various critical sections.</p>
  88. </section>
  89. <h4><a class="xref" href="IPA.Utilities.EnumerableExtensions.html">EnumerableExtensions</a></h4>
  90. <section><p>Extensions for <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable&lt;T&gt;</a> that don&apos;t currently exist in <code>System.Linq</code>.</p>
  91. </section>
  92. <h4><a class="xref" href="IPA.Utilities.Extensions.html">Extensions</a></h4>
  93. <section><p>A class providing various extension methods.</p>
  94. </section>
  95. <h4><a class="xref" href="IPA.Utilities.FieldAccessor-2.html">FieldAccessor&lt;T, U&gt;</a></h4>
  96. <section><p>A type containing utilities for accessing non-public fields of objects.</p>
  97. </section>
  98. <h4><a class="xref" href="IPA.Utilities.MethodAccessor-2.html">MethodAccessor&lt;T, TDelegate&gt;</a></h4>
  99. <section><p>A type containing utilities for calling non-public methods on an object.</p>
  100. </section>
  101. <h4><a class="xref" href="IPA.Utilities.PropertyAccessor-2.html">PropertyAccessor&lt;T, U&gt;</a></h4>
  102. <section><p>A type containing utilities for accessing non-public properties of an object.</p>
  103. </section>
  104. <h4><a class="xref" href="IPA.Utilities.Ref.html">Ref</a></h4>
  105. <section><p>Utilities to create <a class="xref" href="IPA.Utilities.Ref-1.html">Ref&lt;T&gt;</a> using type inference.</p>
  106. </section>
  107. <h4><a class="xref" href="IPA.Utilities.Ref-1.html">Ref&lt;T&gt;</a></h4>
  108. <section><p>A class to store a reference for passing to methods which cannot take ref parameters.</p>
  109. </section>
  110. <h4><a class="xref" href="IPA.Utilities.ReflectionUtil.html">ReflectionUtil</a></h4>
  111. <section><p>A utility class providing reflection helper methods.</p>
  112. </section>
  113. <h4><a class="xref" href="IPA.Utilities.UnityGame.html">UnityGame</a></h4>
  114. <section><p>Provides some basic utility methods and properties of Beat Saber</p>
  115. </section>
  116. <h4><a class="xref" href="IPA.Utilities.Utils.html">Utils</a></h4>
  117. <section><p>A class providing static utility functions that in any other language would just <em>exist</em>.</p>
  118. </section>
  119. <h3 id="structs">Structs
  120. </h3>
  121. <h4><a class="xref" href="IPA.Utilities.CriticalSection.AutoExecuteSection.html">CriticalSection.AutoExecuteSection</a></h4>
  122. <section><p>A struct that allows <code>using</code> blocks to manage an execute section.</p>
  123. </section>
  124. <h4><a class="xref" href="IPA.Utilities.SwitchToUnityMainThreadAwaitable.html">SwitchToUnityMainThreadAwaitable</a></h4>
  125. <section><p>An awaitable which, when awaited, switches the current context to the Unity main thread.</p>
  126. </section>
  127. <h4><a class="xref" href="IPA.Utilities.SwitchToUnityMainThreadAwaiter.html">SwitchToUnityMainThreadAwaiter</a></h4>
  128. <section><p>An awaiter which, when awaited, switches the current context to the Unity main thread.</p>
  129. </section>
  130. <h4><a class="xref" href="IPA.Utilities.Utils.ScopeGuardObject.html">Utils.ScopeGuardObject</a></h4>
  131. <section><p>An object used to manage scope guards.</p>
  132. </section>
  133. <h3 id="enums">Enums
  134. </h3>
  135. <h4><a class="xref" href="IPA.Utilities.AlmostVersion.StoredAs.html">AlmostVersion.StoredAs</a></h4>
  136. <section><p>Represents a storage type of either parsed <span class="xref">Hive.Versioning.Version</span> object or raw <a class="xref" href="IPA.Utilities.AlmostVersion.StoredAs.html#IPA_Utilities_AlmostVersion_StoredAs_String">String</a>.</p>
  137. </section>
  138. <h4><a class="xref" href="IPA.Utilities.UnityGame.Release.html">UnityGame.Release</a></h4>
  139. <section><p>The different types of releases of the game.</p>
  140. </section>
  141. <h3 id="delegates">Delegates
  142. </h3>
  143. <h4><a class="xref" href="IPA.Utilities.FieldAccessor-2.Accessor.html">FieldAccessor&lt;T, U&gt;.Accessor</a></h4>
  144. <section><p>A delegate for a field accessor taking a <code data-dev-comment-type="typeparamref" class="typeparamref">T</code> ref and returning a <code data-dev-comment-type="typeparamref" class="typeparamref">U</code> ref.</p>
  145. </section>
  146. <h4><a class="xref" href="IPA.Utilities.PropertyAccessor-2.Getter.html">PropertyAccessor&lt;T, U&gt;.Getter</a></h4>
  147. <section><p>A getter for a property.</p>
  148. </section>
  149. <h4><a class="xref" href="IPA.Utilities.PropertyAccessor-2.Setter.html">PropertyAccessor&lt;T, U&gt;.Setter</a></h4>
  150. <section><p>A setter for a property.</p>
  151. </section>
  152. </article>
  153. </div>
  154. <div class="hidden-sm col-md-2" role="complementary">
  155. <div class="sideaffix">
  156. <div class="contribution">
  157. <ul class="nav">
  158. </ul>
  159. </div>
  160. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  161. <h5>In This Article</h5>
  162. <div></div>
  163. </nav>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. <footer>
  169. <div class="grad-bottom"></div>
  170. <div class="footer">
  171. <div class="container">
  172. <span class="pull-right">
  173. <a href="#top">Back to top</a>
  174. </span>
  175. <span>Generated by <strong>DocFX</strong></span>
  176. </div>
  177. </div>
  178. </footer>
  179. </div>
  180. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  181. <script type="text/javascript" src="../styles/docfx.js"></script>
  182. <script type="text/javascript" src="../styles/main.js"></script>
  183. </body>
  184. </html>