mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
1268 lines
147 KiB
HTML
1268 lines
147 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UnitsManager | DCSOlympus</title><meta name="description" content="Documentation for DCSOlympus"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||
<div class="tsd-toolbar-contents container">
|
||
<div class="table-cell" id="tsd-search" data-base="..">
|
||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||
<div class="field">
|
||
<div id="tsd-toolbar-links"></div></div>
|
||
<ul class="results">
|
||
<li class="state loading">Preparing search index...</li>
|
||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">DCSOlympus</a></div>
|
||
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||
<div class="container container-main">
|
||
<div class="col-content">
|
||
<div class="tsd-page-title">
|
||
<ul class="tsd-breadcrumb">
|
||
<li><a href="../index.html">DCSOlympus</a></li>
|
||
<li><a href="../modules/unit_unitsmanager.html">unit/unitsmanager</a></li>
|
||
<li><a href="unit_unitsmanager.UnitsManager.html">UnitsManager</a></li></ul>
|
||
<h1>Class UnitsManager</h1></div>
|
||
<section class="tsd-panel tsd-comment">
|
||
<div class="tsd-comment tsd-typography"><p>The UnitsManager handles the creation, update, and control of units. Data is strictly updated by the server ONLY. This means that any interaction from the user will always and only
|
||
result in a command to the server, executed by means of a REST PUT request. Any subsequent change in data will be reflected only when the new data is sent back by the server. This strategy allows
|
||
to avoid client/server and client/client inconsistencies.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></section>
|
||
<section class="tsd-panel tsd-hierarchy">
|
||
<h4>Hierarchy</h4>
|
||
<ul class="tsd-hierarchy">
|
||
<li><span class="target">UnitsManager</span></li></ul></section><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L21">src/unit/unitsmanager.ts:21</a></li></ul></aside>
|
||
<section class="tsd-panel-group tsd-index-group">
|
||
<section class="tsd-panel tsd-index-panel">
|
||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||
<div class="tsd-accordion-details">
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Constructors</h3>
|
||
<div class="tsd-index-list"><a href="unit_unitsmanager.UnitsManager.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>constructor</span></a>
|
||
</div></section>
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Properties</h3>
|
||
<div class="tsd-index-list"><a href="unit_unitsmanager.UnitsManager.html#_copiedUnits" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>#copied<wbr/>Units</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#_requestDetectionUpdate" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#request<wbr/>Detection<wbr/>Update</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#_selectionEventDisabled" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#selection<wbr/>Event<wbr/>Disabled</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#_units" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#units</span></a>
|
||
</div></section>
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Methods</h3>
|
||
<div class="tsd-index-list"><a href="unit_unitsmanager.UnitsManager.html#_onKeyUp" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>#on<wbr/>Key<wbr/>Up</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#_onUnitDeselection" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#on<wbr/>Unit<wbr/>Deselection</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#_onUnitSelection" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#on<wbr/>Unit<wbr/>Selection</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#_showActionMessage" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#show<wbr/>Action<wbr/>Message</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#addUnit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>add<wbr/>Unit</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#createIADS" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>createIADS</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#deselectAllUnits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>deselect<wbr/>All<wbr/>Units</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#deselectUnit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>deselect<wbr/>Unit</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#exportToFile" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>export<wbr/>To<wbr/>File</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getSelectedUnits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Units</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getSelectedUnitsCategories" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Units<wbr/>Categories</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getSelectedUnitsVariable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Units<wbr/>Variable</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getUnitByID" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Unit<wbr/>ByID</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getUnitDetectedMethods" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Unit<wbr/>Detected<wbr/>Methods</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getUnits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getUnitsByHotgroup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units<wbr/>By<wbr/>Hotgroup</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getUnitsCategories" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units<wbr/>Categories</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#getUnitsVariable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units<wbr/>Variable</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#importFromFile" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>import<wbr/>From<wbr/>File</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#pasteUnits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>paste<wbr/>Units</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectFromBounds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>select<wbr/>From<wbr/>Bounds</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectUnit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>select<wbr/>Unit</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectUnitsByHotgroup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>select<wbr/>Units<wbr/>By<wbr/>Hotgroup</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsAddDestination" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Add<wbr/>Destination</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsAddToHotgroup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Add<wbr/>To<wbr/>Hotgroup</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsAttackUnit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Attack<wbr/>Unit</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsBombPoint" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Bomb<wbr/>Point</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsCarpetBomb" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Carpet<wbr/>Bomb</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsChangeAltitude" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Change<wbr/>Altitude</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsChangeSpeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Change<wbr/>Speed</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsClearDestinations" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Clear<wbr/>Destinations</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsComputeGroupDestination" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Compute<wbr/>Group<wbr/>Destination</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsCopy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Copy</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsCreateGroup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Create<wbr/>Group</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsDelete" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Delete</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsFireAtArea" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Fire<wbr/>At<wbr/>Area</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsFollowUnit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Follow<wbr/>Unit</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsLandAt" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Land<wbr/>At</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsRefuel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Refuel</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetAltitude" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Altitude</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetAltitudeType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Altitude<wbr/>Type</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetEmissionsCountermeasures" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Emissions<wbr/>Countermeasures</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetFollowRoads" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Follow<wbr/>Roads</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetHotgroup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Hotgroup</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetOnOff" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>On<wbr/>Off</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetROE" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>SetROE</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetReactionToThreat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Reaction<wbr/>To<wbr/>Threat</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetSpeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Speed</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#selectedUnitsSetSpeedType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Speed<wbr/>Type</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#spawnUnits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>spawn<wbr/>Units</span></a>
|
||
<a href="unit_unitsmanager.UnitsManager.html#update" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>update</span></a>
|
||
</div></section></div></details></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Constructors</h2>
|
||
<section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_UnitsManager"><span class="tsd-kind-constructor-signature">new <wbr/>Units<wbr/>Manager</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="unit_unitsmanager.UnitsManager.html" class="tsd-signature-type tsd-kind-class">UnitsManager</a><a href="#constructor.new_UnitsManager" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<h4 class="tsd-returns-title">Returns <a href="unit_unitsmanager.UnitsManager.html" class="tsd-signature-type tsd-kind-class">UnitsManager</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L27">src/unit/unitsmanager.ts:27</a></li></ul></aside></li></ul></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Properties</h2>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_copiedUnits" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#copied<wbr/>Units</span><a href="#_copiedUnits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">#copied<wbr/>Units</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">UnitData</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L23">src/unit/unitsmanager.ts:23</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_requestDetectionUpdate" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#request<wbr/>Detection<wbr/>Update</span><a href="#_requestDetectionUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">#request<wbr/>Detection<wbr/>Update</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L25">src/unit/unitsmanager.ts:25</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_selectionEventDisabled" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#selection<wbr/>Event<wbr/>Disabled</span><a href="#_selectionEventDisabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">#selection<wbr/>Event<wbr/>Disabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L24">src/unit/unitsmanager.ts:24</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_units" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#units</span><a href="#_units" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">#units</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">ID</span>: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
|
||
<div class="tsd-type-declaration">
|
||
<h4>Type declaration</h4>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter-index-signature">
|
||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a></h5></li></ul></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L22">src/unit/unitsmanager.ts:22</a></li></ul></aside></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Methods</h2>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_onKeyUp" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#on<wbr/>Key<wbr/>Up</span><a href="#_onKeyUp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-is-private">
|
||
<li class="tsd-signature tsd-anchor-link" id="_onKeyUp._onKeyUp-1"><span class="tsd-kind-call-signature">#on<wbr/>Key<wbr/>Up</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_onKeyUp._onKeyUp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><hr>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type ">KeyboardEvent</span></h5></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L959">src/unit/unitsmanager.ts:959</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_onUnitDeselection" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#on<wbr/>Unit<wbr/>Deselection</span><a href="#_onUnitDeselection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-is-private">
|
||
<li class="tsd-signature tsd-anchor-link" id="_onUnitDeselection._onUnitDeselection-1"><span class="tsd-kind-call-signature">#on<wbr/>Unit<wbr/>Deselection</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_onUnitDeselection._onUnitDeselection-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">unit</span>: <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a></h5></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L986">src/unit/unitsmanager.ts:986</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_onUnitSelection" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#on<wbr/>Unit<wbr/>Selection</span><a href="#_onUnitSelection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-is-private">
|
||
<li class="tsd-signature tsd-anchor-link" id="_onUnitSelection._onUnitSelection-1"><span class="tsd-kind-call-signature">#on<wbr/>Unit<wbr/>Selection</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_onUnitSelection._onUnitSelection-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">unit</span>: <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a></h5></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L968">src/unit/unitsmanager.ts:968</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_showActionMessage" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#show<wbr/>Action<wbr/>Message</span><a href="#_showActionMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-is-private">
|
||
<li class="tsd-signature tsd-anchor-link" id="_showActionMessage._showActionMessage-1"><span class="tsd-kind-call-signature">#show<wbr/>Action<wbr/>Message</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">units</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_showActionMessage._showActionMessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">units</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L995">src/unit/unitsmanager.ts:995</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="addUnit" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>add<wbr/>Unit</span><a href="#addUnit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="addUnit.addUnit-1"><span class="tsd-kind-call-signature">add<wbr/>Unit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ID</span>, <span class="tsd-kind-parameter">category</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addUnit.addUnit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Add a new unit to the manager</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>ID of the new unit</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">category</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Either "Aircraft", "Helicopter", "GroundUnit", or "NavyUnit". Determines what class will be used to create the new unit accordingly.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L80">src/unit/unitsmanager.ts:80</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="createIADS" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>createIADS</span><a href="#createIADS" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="createIADS.createIADS-1"><span class="tsd-kind-call-signature">createIADS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">coalitionArea</span>, <span class="tsd-kind-parameter">types</span>, <span class="tsd-kind-parameter">eras</span>, <span class="tsd-kind-parameter">ranges</span>, <span class="tsd-kind-parameter">density</span>, <span class="tsd-kind-parameter">distribution</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#createIADS.createIADS-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Automatically create an Integrated Air Defence System from a CoalitionArea object. The units will be mostly focused around big cities. The bigger the city, the larger the amount of units created next to it.
|
||
If the CoalitionArea does not contain any city, no units will be created</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">coalitionArea</span>: <span class="tsd-signature-type ">CoalitionArea</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Boundaries of the IADS</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">types</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Array of unit types to add to the IADS, e.g. AAA, SAM, flak, MANPADS</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter-index-signature">
|
||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">eras</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Array of eras to which the units added to the IADS can belong</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter-index-signature">
|
||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ranges</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Array of weapon ranges the units can have</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter-index-signature">
|
||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">density</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value between 0 and 100, controls the amout of units created</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">distribution</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value between 0 and 100, controls how "scattered" the units will be</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L817">src/unit/unitsmanager.ts:817</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="deselectAllUnits" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>deselect<wbr/>All<wbr/>Units</span><a href="#deselectAllUnits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="deselectAllUnits.deselectAllUnits-1"><span class="tsd-kind-call-signature">deselect<wbr/>All<wbr/>Units</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deselectAllUnits.deselectAllUnits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Deselects all currently selected units</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L238">src/unit/unitsmanager.ts:238</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="deselectUnit" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>deselect<wbr/>Unit</span><a href="#deselectUnit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="deselectUnit.deselectUnit-1"><span class="tsd-kind-call-signature">deselect<wbr/>Unit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ID</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#deselectUnit.deselectUnit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Deselect a specific unit</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>ID of the unit to deselect</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L248">src/unit/unitsmanager.ts:248</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="exportToFile" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>export<wbr/>To<wbr/>File</span><a href="#exportToFile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="exportToFile.exportToFile-1"><span class="tsd-kind-call-signature">export<wbr/>To<wbr/>File</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#exportToFile.exportToFile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Export all the ground and navy units to file. Does not work on Aircraft and Helicopter units.
|
||
TODO: Extend to aircraft and helicopters</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L851">src/unit/unitsmanager.ts:851</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getSelectedUnits" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Selected<wbr/>Units</span><a href="#getSelectedUnits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getSelectedUnits.getSelectedUnits-1"><span class="tsd-kind-call-signature">get<wbr/>Selected<wbr/>Units</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">[]</span><a href="#getSelectedUnits.getSelectedUnits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Get all the currently selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">excludeHumans</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">onlyOnePerGroup</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Selection options</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">exclude<wbr/>Humans</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>One<wbr/>Per<wbr/>Group</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of selected units</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L213">src/unit/unitsmanager.ts:213</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getSelectedUnitsCategories" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Selected<wbr/>Units<wbr/>Categories</span><a href="#getSelectedUnitsCategories" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getSelectedUnitsCategories.getSelectedUnitsCategories-1"><span class="tsd-kind-call-signature">get<wbr/>Selected<wbr/>Units<wbr/>Categories</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#getSelectedUnitsCategories.getSelectedUnitsCategories-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>See getUnitsCategories for more info</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>Category array of the selected units.</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L613">src/unit/unitsmanager.ts:613</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getSelectedUnitsVariable" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Selected<wbr/>Units<wbr/>Variable</span><a href="#getSelectedUnitsVariable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getSelectedUnitsVariable.getSelectedUnitsVariable-1"><span class="tsd-kind-call-signature">get<wbr/>Selected<wbr/>Units<wbr/>Variable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variableGetter</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#getSelectedUnitsVariable.getSelectedUnitsVariable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>See getUnitsVariable for more info</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">variableGetter</span>: <span class="tsd-signature-type ">CallableFunction</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>CallableFunction that returns the requested variable. Example: getUnitsVariable((unit: Unit) => unit.getName(), foo) will return a string value if all the units have the same name, otherwise it will return undefined.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The value of the variable if all units have the same value, else undefined</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L622">src/unit/unitsmanager.ts:622</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getUnitByID" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Unit<wbr/>ByID</span><a href="#getUnitByID" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getUnitByID.getUnitByID-1"><span class="tsd-kind-call-signature">get<wbr/>Unit<wbr/>ByID</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ID</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><a href="#getUnitByID.getUnitByID-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Get a specific unit by ID</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>ID of the unit. The ID shall be the same as the unit ID in DCS.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a></h4><p>Unit object, or null if no unit with said ID exists.</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L59">src/unit/unitsmanager.ts:59</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getUnitDetectedMethods" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Unit<wbr/>Detected<wbr/>Methods</span><a href="#getUnitDetectedMethods" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getUnitDetectedMethods.getUnitDetectedMethods-1"><span class="tsd-kind-call-signature">get<wbr/>Unit<wbr/>Detected<wbr/>Methods</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getUnitDetectedMethods.getUnitDetectedMethods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>For a given unit, it returns if and how it is being detected by other units. NOTE: this function will return how a unit is being detected, i.e. how other units are detecting it. It will not return
|
||
what the unit is detecting.</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">unit</span>: <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a></h5>
|
||
<div class="tsd-comment tsd-typography"><p>The unit of which to retrieve the "detected" methods.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>Array of detection methods</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L291">src/unit/unitsmanager.ts:291</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getUnits" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Units</span><a href="#getUnits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getUnits.getUnits-1"><span class="tsd-kind-call-signature">get<wbr/>Units</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">ID</span>: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#getUnits.getUnits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">ID</span>: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><p>All the existing units, both alive and dead</p>
|
||
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter-index-signature">
|
||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a></h5></li></ul>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L50">src/unit/unitsmanager.ts:50</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getUnitsByHotgroup" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Units<wbr/>By<wbr/>Hotgroup</span><a href="#getUnitsByHotgroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getUnitsByHotgroup.getUnitsByHotgroup-1"><span class="tsd-kind-call-signature">get<wbr/>Units<wbr/>By<wbr/>Hotgroup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hotgroup</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">[]</span><a href="#getUnitsByHotgroup.getUnitsByHotgroup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Returns all the units that belong to a hotgroup</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">hotgroup</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Hotgroup number</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of units that belong to hotgroup</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L71">src/unit/unitsmanager.ts:71</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getUnitsCategories" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Units<wbr/>Categories</span><a href="#getUnitsCategories" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getUnitsCategories.getUnitsCategories-1"><span class="tsd-kind-call-signature">get<wbr/>Units<wbr/>Categories</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">units</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#getUnitsCategories.getUnitsCategories-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>This function allows to quickly determine the categories (Aircraft, Helicopter, GroundUnit, NavyUnit) of an array units. This allows to enable/disable specific controls which can only be applied
|
||
to specific categories.</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">units</span>: <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Array of units of which to retrieve the categories</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>Array of categories. Each category is present only once.</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L258">src/unit/unitsmanager.ts:258</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="getUnitsVariable" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>get<wbr/>Units<wbr/>Variable</span><a href="#getUnitsVariable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="getUnitsVariable.getUnitsVariable-1"><span class="tsd-kind-call-signature">get<wbr/>Units<wbr/>Variable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variableGetter</span>, <span class="tsd-kind-parameter">units</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#getUnitsVariable.getUnitsVariable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>This function returns the value of a variable for each of the units in the input array. If all the units have the same value, returns the value, else returns undefined. This function is useful to
|
||
present units data in the control panel, which will print a specific value only if it is the same for all the units. If the values are different, the control panel will show a "mixed values" value, or similar.</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">variableGetter</span>: <span class="tsd-signature-type ">CallableFunction</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>CallableFunction that returns the requested variable. Example: getUnitsVariable((unit: Unit) => unit.getName(), foo) will return a string value if all the units have the same name, otherwise it will return undefined.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">units</span>: <a href="unit_unit.Unit.html" class="tsd-signature-type tsd-kind-class">Unit</a><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Array of units of which to retrieve the variable</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The value of the variable if all units have the same value, else undefined</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L275">src/unit/unitsmanager.ts:275</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="importFromFile" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>import<wbr/>From<wbr/>File</span><a href="#importFromFile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="importFromFile.importFromFile-1"><span class="tsd-kind-call-signature">import<wbr/>From<wbr/>File</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#importFromFile.importFromFile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Import ground and navy units from file
|
||
TODO: extend to support aircraft and helicopters</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L873">src/unit/unitsmanager.ts:873</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="pasteUnits" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>paste<wbr/>Units</span><a href="#pasteUnits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="pasteUnits.pasteUnits-1"><span class="tsd-kind-call-signature">paste<wbr/>Units</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><a href="#pasteUnits.pasteUnits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Paste the copied units</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span></h4><p>True if units were pasted successfully</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L741">src/unit/unitsmanager.ts:741</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectFromBounds" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>select<wbr/>From<wbr/>Bounds</span><a href="#selectFromBounds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectFromBounds.selectFromBounds-1"><span class="tsd-kind-call-signature">select<wbr/>From<wbr/>Bounds</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bounds</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectFromBounds.selectFromBounds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Select all visible units inside a bounding rectangle</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">bounds</span>: <span class="tsd-signature-type ">LatLngBounds</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Leaflet bounds object defining the selection area</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L187">src/unit/unitsmanager.ts:187</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectUnit" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>select<wbr/>Unit</span><a href="#selectUnit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectUnit.selectUnit-1"><span class="tsd-kind-call-signature">select<wbr/>Unit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ID</span>, <span class="tsd-kind-parameter">deselectAllUnits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectUnit.selectUnit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a unit as "selected", which will allow to perform operations on it, like giving it a destination, setting it to attack a target, and so on</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>The ID of the unit to select</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">deselectAllUnits</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true, the unit will be the only selected unit</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L177">src/unit/unitsmanager.ts:177</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectUnitsByHotgroup" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>select<wbr/>Units<wbr/>By<wbr/>Hotgroup</span><a href="#selectUnitsByHotgroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectUnitsByHotgroup.selectUnitsByHotgroup-1"><span class="tsd-kind-call-signature">select<wbr/>Units<wbr/>By<wbr/>Hotgroup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hotgroup</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectUnitsByHotgroup.selectUnitsByHotgroup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Select units by hotgroup. A hotgroup can be created to quickly select multiple units using keyboard bindings</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">hotgroup</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>The hotgroup number</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L203">src/unit/unitsmanager.ts:203</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsAddDestination" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Add<wbr/>Destination</span><a href="#selectedUnitsAddDestination" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsAddDestination.selectedUnitsAddDestination-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Add<wbr/>Destination</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">latlng</span>, <span class="tsd-kind-parameter">mantainRelativePosition</span>, <span class="tsd-kind-parameter">rotation</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsAddDestination.selectedUnitsAddDestination-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Give a new destination to the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">latlng</span>: <span class="tsd-signature-type ">LatLng</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Position of the new destination</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">mantainRelativePosition</span>: <span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true, the selected units will mantain their relative positions when reaching the target. This is useful to maintain a formation for groun/navy units</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">rotation</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Rotation in radians by which the formation will be rigidly rotated. E.g. a ( V ) formation will look like this ( < ) if rotated pi/4 radians (90 degrees)</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L311">src/unit/unitsmanager.ts:311</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsAddToHotgroup" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Add<wbr/>To<wbr/>Hotgroup</span><a href="#selectedUnitsAddToHotgroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsAddToHotgroup.selectedUnitsAddToHotgroup-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Add<wbr/>To<wbr/>Hotgroup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hotgroup</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsAddToHotgroup.selectedUnitsAddToHotgroup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Add the selected units to a hotgroup. Units can be in multiple hotgroups at the same type</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">hotgroup</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Hotgroup number</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L656">src/unit/unitsmanager.ts:656</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsAttackUnit" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Attack<wbr/>Unit</span><a href="#selectedUnitsAttackUnit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsAttackUnit.selectedUnitsAttackUnit-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Attack<wbr/>Unit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ID</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsAttackUnit.selectedUnitsAttackUnit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct units to attack a specific unit</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>ID of the unit to attack</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L506">src/unit/unitsmanager.ts:506</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsBombPoint" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Bomb<wbr/>Point</span><a href="#selectedUnitsBombPoint" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsBombPoint.selectedUnitsBombPoint-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Bomb<wbr/>Point</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">latlng</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsBombPoint.selectedUnitsBombPoint-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct the selected units to perform precision bombing of specific coordinates</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">latlng</span>: <span class="tsd-signature-type ">LatLng</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Location to bomb</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L576">src/unit/unitsmanager.ts:576</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsCarpetBomb" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Carpet<wbr/>Bomb</span><a href="#selectedUnitsCarpetBomb" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsCarpetBomb.selectedUnitsCarpetBomb-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Carpet<wbr/>Bomb</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">latlng</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsCarpetBomb.selectedUnitsCarpetBomb-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct the selected units to perform carpet bombing of specific coordinates</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">latlng</span>: <span class="tsd-signature-type ">LatLng</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Location to bomb</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L588">src/unit/unitsmanager.ts:588</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsChangeAltitude" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Change<wbr/>Altitude</span><a href="#selectedUnitsChangeAltitude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsChangeAltitude.selectedUnitsChangeAltitude-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Change<wbr/>Altitude</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">altitudeChange</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsChangeAltitude.selectedUnitsChangeAltitude-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct all the selected units to change their altitude</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">altitudeChange</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Altitude change, either "climb" or "descend". The specific value depends on the unit category</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L387">src/unit/unitsmanager.ts:387</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsChangeSpeed" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Change<wbr/>Speed</span><a href="#selectedUnitsChangeSpeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsChangeSpeed.selectedUnitsChangeSpeed-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Change<wbr/>Speed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">speedChange</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsChangeSpeed.selectedUnitsChangeSpeed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct all the selected units to change their speed</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">speedChange</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Speed change, either "stop", "slow", or "fast". The specific value depends on the unit category</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L376">src/unit/unitsmanager.ts:376</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsClearDestinations" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Clear<wbr/>Destinations</span><a href="#selectedUnitsClearDestinations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsClearDestinations.selectedUnitsClearDestinations-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Clear<wbr/>Destinations</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsClearDestinations.selectedUnitsClearDestinations-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Clear the destinations of all the selected units</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L344">src/unit/unitsmanager.ts:344</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsComputeGroupDestination" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Compute<wbr/>Group<wbr/>Destination</span><a href="#selectedUnitsComputeGroupDestination" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsComputeGroupDestination.selectedUnitsComputeGroupDestination-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Compute<wbr/>Group<wbr/>Destination</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">latlng</span>, <span class="tsd-kind-parameter">rotation</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">LatLng</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#selectedUnitsComputeGroupDestination.selectedUnitsComputeGroupDestination-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Compute the destinations of every unit in the selected units. This function preserves the relative positions of the units, and rotates the whole formation by rotation.</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">latlng</span>: <span class="tsd-signature-type ">LatLng</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Center of the group after the translation</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">rotation</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Rotation of the group, in radians</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">LatLng</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><p>Array of positions for each unit, in order</p>
|
||
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter-index-signature">
|
||
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type ">LatLng</span></h5></li></ul>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L696">src/unit/unitsmanager.ts:696</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsCopy" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Copy</span><a href="#selectedUnitsCopy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsCopy.selectedUnitsCopy-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Copy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsCopy.selectedUnitsCopy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Copy the selected units and store their properties in memory</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L730">src/unit/unitsmanager.ts:730</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsCreateGroup" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Create<wbr/>Group</span><a href="#selectedUnitsCreateGroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsCreateGroup.selectedUnitsCreateGroup-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Create<wbr/>Group</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsCreateGroup.selectedUnitsCreateGroup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Groups the selected units in a single (DCS) group, if all the units have the same category</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L629">src/unit/unitsmanager.ts:629</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsDelete" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Delete</span><a href="#selectedUnitsDelete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsDelete.selectedUnitsDelete-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Delete</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">explosion</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsDelete.selectedUnitsDelete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Delete the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">explosion</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true, the unit will be deleted using an explosion</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L670">src/unit/unitsmanager.ts:670</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsFireAtArea" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Fire<wbr/>At<wbr/>Area</span><a href="#selectedUnitsFireAtArea" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsFireAtArea.selectedUnitsFireAtArea-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Fire<wbr/>At<wbr/>Area</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">latlng</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsFireAtArea.selectedUnitsFireAtArea-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct the selected units to fire at specific coordinates</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">latlng</span>: <span class="tsd-signature-type ">LatLng</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Location to fire at</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L600">src/unit/unitsmanager.ts:600</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsFollowUnit" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Follow<wbr/>Unit</span><a href="#selectedUnitsFollowUnit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsFollowUnit.selectedUnitsFollowUnit-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Follow<wbr/>Unit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ID</span>, <span class="tsd-kind-parameter">offset</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">formation</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsFollowUnit.selectedUnitsFollowUnit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct the selected units to follow another unit in a formation. Only works for aircrafts and helicopters.</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ID</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>ID of the unit to follow</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">z</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Optional parameter, defines a static offset. X: front-rear, positive front, Y: top-bottom, positive top, Z: left-right, positive right</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter">
|
||
<h5><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li>
|
||
<li class="tsd-parameter">
|
||
<h5><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li>
|
||
<li class="tsd-parameter">
|
||
<h5><span class="tsd-kind-property">z</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></li>
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">formation</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Optional parameter, defines a predefined formation type. Values are: "trail", "echelon-lh", "echelon-rh", "line-abreast-lh", "line-abreast-rh", "front", "diamond"</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L531">src/unit/unitsmanager.ts:531</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsLandAt" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Land<wbr/>At</span><a href="#selectedUnitsLandAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsLandAt.selectedUnitsLandAt-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Land<wbr/>At</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">latlng</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsLandAt.selectedUnitsLandAt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct all the selected units to land at a specific location</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">latlng</span>: <span class="tsd-signature-type ">LatLng</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Location where to land at</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L364">src/unit/unitsmanager.ts:364</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsRefuel" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Refuel</span><a href="#selectedUnitsRefuel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsRefuel.selectedUnitsRefuel-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Refuel</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsRefuel.selectedUnitsRefuel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct units to refuel at the nearest tanker, if possible. Else units will RTB</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L517">src/unit/unitsmanager.ts:517</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetAltitude" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Altitude</span><a href="#selectedUnitsSetAltitude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetAltitude.selectedUnitsSetAltitude-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Altitude</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">altitude</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetAltitude.selectedUnitsSetAltitude-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific altitude to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">altitude</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, in m</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L422">src/unit/unitsmanager.ts:422</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetAltitudeType" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Altitude<wbr/>Type</span><a href="#selectedUnitsSetAltitudeType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetAltitudeType.selectedUnitsSetAltitudeType-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Altitude<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">altitudeType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetAltitudeType.selectedUnitsSetAltitudeType-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific altitude type to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">altitudeType</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, either "ASL" or "AGL". If "AGL" is selected, the unit will try to maintain the selected Above Ground Level altitude. Due to a DCS bug, this will only be true at the final position.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L434">src/unit/unitsmanager.ts:434</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetEmissionsCountermeasures" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Emissions<wbr/>Countermeasures</span><a href="#selectedUnitsSetEmissionsCountermeasures" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetEmissionsCountermeasures.selectedUnitsSetEmissionsCountermeasures-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Emissions<wbr/>Countermeasures</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emissionCountermeasure</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetEmissionsCountermeasures.selectedUnitsSetEmissionsCountermeasures-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific emissions & countermeasures to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">emissionCountermeasure</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, see constants for acceptable values</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L470">src/unit/unitsmanager.ts:470</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetFollowRoads" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Follow<wbr/>Roads</span><a href="#selectedUnitsSetFollowRoads" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetFollowRoads.selectedUnitsSetFollowRoads-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Follow<wbr/>Roads</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">followRoads</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetFollowRoads.selectedUnitsSetFollowRoads-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Instruct the selected units to follow roads, only works on ground units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">followRoads</span>: <span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true, units will follow roads</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L494">src/unit/unitsmanager.ts:494</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetHotgroup" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Hotgroup</span><a href="#selectedUnitsSetHotgroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetHotgroup.selectedUnitsSetHotgroup-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Hotgroup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hotgroup</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetHotgroup.selectedUnitsSetHotgroup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set the hotgroup for the selected units. It will be the only hotgroup of the unit</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">hotgroup</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Hotgroup number</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L647">src/unit/unitsmanager.ts:647</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetOnOff" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>On<wbr/>Off</span><a href="#selectedUnitsSetOnOff" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetOnOff.selectedUnitsSetOnOff-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>On<wbr/>Off</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">onOff</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetOnOff.selectedUnitsSetOnOff-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Turn selected units on or off, only works on ground and navy units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">onOff</span>: <span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true, the unit will be turned on</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L482">src/unit/unitsmanager.ts:482</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetROE" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>SetROE</span><a href="#selectedUnitsSetROE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetROE.selectedUnitsSetROE-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>SetROE</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ROE</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetROE.selectedUnitsSetROE-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific ROE to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">ROE</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, see constants for acceptable values</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L446">src/unit/unitsmanager.ts:446</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetReactionToThreat" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Reaction<wbr/>To<wbr/>Threat</span><a href="#selectedUnitsSetReactionToThreat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetReactionToThreat.selectedUnitsSetReactionToThreat-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Reaction<wbr/>To<wbr/>Threat</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">reactionToThreat</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetReactionToThreat.selectedUnitsSetReactionToThreat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific reaction to threat to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">reactionToThreat</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, see constants for acceptable values</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L458">src/unit/unitsmanager.ts:458</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetSpeed" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Speed</span><a href="#selectedUnitsSetSpeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetSpeed.selectedUnitsSetSpeed-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Speed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">speed</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetSpeed.selectedUnitsSetSpeed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific speed to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">speed</span>: <span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, in m/s</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L398">src/unit/unitsmanager.ts:398</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="selectedUnitsSetSpeedType" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>selected<wbr/>Units<wbr/>Set<wbr/>Speed<wbr/>Type</span><a href="#selectedUnitsSetSpeedType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="selectedUnitsSetSpeedType.selectedUnitsSetSpeedType-1"><span class="tsd-kind-call-signature">selected<wbr/>Units<wbr/>Set<wbr/>Speed<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">speedType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#selectedUnitsSetSpeedType.selectedUnitsSetSpeedType-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set a specific speed type to all the selected units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">speedType</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Value to set, either "CAS" or "GS". If "CAS" is selected, the unit will try to maintain the selected Calibrated Air Speed, but DCS will still only maintain a Ground Speed value so errors may arise depending on wind.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L410">src/unit/unitsmanager.ts:410</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="spawnUnits" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>spawn<wbr/>Units</span><a href="#spawnUnits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="spawnUnits.spawnUnits-1"><span class="tsd-kind-call-signature">spawn<wbr/>Units</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">category</span>, <span class="tsd-kind-parameter">units</span>, <span class="tsd-kind-parameter">coalition</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">immediate</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">airbase</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">country</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#spawnUnits.spawnUnits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Spawn a new group of units</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">category</span>: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Category of the new units</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">units</span>: <span class="tsd-signature-type ">UnitSpawnTable</span><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Array of unit tables</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">coalition</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "blue"</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Coalition to which the new units will belong</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">immediate</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true the command will be performed immediately, but this may cause lag on the server</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">airbase</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ""</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>If true, the location of the units will be ignored and the units will spawn at the given airbase. Only works for aircrafts and helicopters</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">country</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ""</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Set the country of the units. If empty string, the country will be assigned automatically</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li>
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-type ">CallableFunction</span><span class="tsd-signature-symbol"> = ...</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>CallableFunction called when the command is received by the server</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the spawn command was successfully sent</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L911">src/unit/unitsmanager.ts:911</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member"><a id="update" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
||
<ul class="tsd-signatures">
|
||
<li class="tsd-signature tsd-anchor-link" id="update.update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#update.update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Update the data of all the units. The data is directly decoded from the binary buffer received from the REST Server. This is necessary for performance and bandwidth reasons.</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><span class="tsd-kind-parameter">buffer</span>: <span class="tsd-signature-type ">ArrayBuffer</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>The arraybuffer, encoded according to the ICD defined in: TODO Add reference to ICD</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The decoded updateTime of the data update.</p>
|
||
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/Pax1601/DCSOlympus/blob/bd89470/client/src/unit/unitsmanager.ts#L95">src/unit/unitsmanager.ts:95</a></li></ul></aside></li></ul></section></section></div>
|
||
<div class="col-sidebar">
|
||
<div class="page-menu">
|
||
<div class="tsd-navigation settings">
|
||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
||
<div class="tsd-accordion-details">
|
||
<div class="tsd-filter-visibility">
|
||
<h4 class="uppercase">Member Visibility</h4><form>
|
||
<ul id="tsd-filter-options">
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||
<div class="tsd-theme-toggle">
|
||
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
||
<div class="tsd-accordion-details">
|
||
<ul>
|
||
<li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
|
||
<li><a href="#_copiedUnits" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#copied<wbr/>Units</span></a></li>
|
||
<li><a href="#_requestDetectionUpdate" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#request<wbr/>Detection<wbr/>Update</span></a></li>
|
||
<li><a href="#_selectionEventDisabled" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#selection<wbr/>Event<wbr/>Disabled</span></a></li>
|
||
<li><a href="#_units" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>#units</span></a></li>
|
||
<li><a href="#_onKeyUp" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#on<wbr/>Key<wbr/>Up</span></a></li>
|
||
<li><a href="#_onUnitDeselection" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#on<wbr/>Unit<wbr/>Deselection</span></a></li>
|
||
<li><a href="#_onUnitSelection" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#on<wbr/>Unit<wbr/>Selection</span></a></li>
|
||
<li><a href="#_showActionMessage" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>#show<wbr/>Action<wbr/>Message</span></a></li>
|
||
<li><a href="#addUnit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>add<wbr/>Unit</span></a></li>
|
||
<li><a href="#createIADS" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>createIADS</span></a></li>
|
||
<li><a href="#deselectAllUnits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>deselect<wbr/>All<wbr/>Units</span></a></li>
|
||
<li><a href="#deselectUnit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>deselect<wbr/>Unit</span></a></li>
|
||
<li><a href="#exportToFile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>export<wbr/>To<wbr/>File</span></a></li>
|
||
<li><a href="#getSelectedUnits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Units</span></a></li>
|
||
<li><a href="#getSelectedUnitsCategories" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Units<wbr/>Categories</span></a></li>
|
||
<li><a href="#getSelectedUnitsVariable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Units<wbr/>Variable</span></a></li>
|
||
<li><a href="#getUnitByID" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Unit<wbr/>ByID</span></a></li>
|
||
<li><a href="#getUnitDetectedMethods" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Unit<wbr/>Detected<wbr/>Methods</span></a></li>
|
||
<li><a href="#getUnits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units</span></a></li>
|
||
<li><a href="#getUnitsByHotgroup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units<wbr/>By<wbr/>Hotgroup</span></a></li>
|
||
<li><a href="#getUnitsCategories" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units<wbr/>Categories</span></a></li>
|
||
<li><a href="#getUnitsVariable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Units<wbr/>Variable</span></a></li>
|
||
<li><a href="#importFromFile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>import<wbr/>From<wbr/>File</span></a></li>
|
||
<li><a href="#pasteUnits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>paste<wbr/>Units</span></a></li>
|
||
<li><a href="#selectFromBounds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>select<wbr/>From<wbr/>Bounds</span></a></li>
|
||
<li><a href="#selectUnit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>select<wbr/>Unit</span></a></li>
|
||
<li><a href="#selectUnitsByHotgroup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>select<wbr/>Units<wbr/>By<wbr/>Hotgroup</span></a></li>
|
||
<li><a href="#selectedUnitsAddDestination" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Add<wbr/>Destination</span></a></li>
|
||
<li><a href="#selectedUnitsAddToHotgroup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Add<wbr/>To<wbr/>Hotgroup</span></a></li>
|
||
<li><a href="#selectedUnitsAttackUnit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Attack<wbr/>Unit</span></a></li>
|
||
<li><a href="#selectedUnitsBombPoint" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Bomb<wbr/>Point</span></a></li>
|
||
<li><a href="#selectedUnitsCarpetBomb" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Carpet<wbr/>Bomb</span></a></li>
|
||
<li><a href="#selectedUnitsChangeAltitude" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Change<wbr/>Altitude</span></a></li>
|
||
<li><a href="#selectedUnitsChangeSpeed" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Change<wbr/>Speed</span></a></li>
|
||
<li><a href="#selectedUnitsClearDestinations" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Clear<wbr/>Destinations</span></a></li>
|
||
<li><a href="#selectedUnitsComputeGroupDestination" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Compute<wbr/>Group<wbr/>Destination</span></a></li>
|
||
<li><a href="#selectedUnitsCopy" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Copy</span></a></li>
|
||
<li><a href="#selectedUnitsCreateGroup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Create<wbr/>Group</span></a></li>
|
||
<li><a href="#selectedUnitsDelete" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Delete</span></a></li>
|
||
<li><a href="#selectedUnitsFireAtArea" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Fire<wbr/>At<wbr/>Area</span></a></li>
|
||
<li><a href="#selectedUnitsFollowUnit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Follow<wbr/>Unit</span></a></li>
|
||
<li><a href="#selectedUnitsLandAt" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Land<wbr/>At</span></a></li>
|
||
<li><a href="#selectedUnitsRefuel" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Refuel</span></a></li>
|
||
<li><a href="#selectedUnitsSetAltitude" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Altitude</span></a></li>
|
||
<li><a href="#selectedUnitsSetAltitudeType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Altitude<wbr/>Type</span></a></li>
|
||
<li><a href="#selectedUnitsSetEmissionsCountermeasures" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Emissions<wbr/>Countermeasures</span></a></li>
|
||
<li><a href="#selectedUnitsSetFollowRoads" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Follow<wbr/>Roads</span></a></li>
|
||
<li><a href="#selectedUnitsSetHotgroup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Hotgroup</span></a></li>
|
||
<li><a href="#selectedUnitsSetOnOff" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>On<wbr/>Off</span></a></li>
|
||
<li><a href="#selectedUnitsSetROE" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>SetROE</span></a></li>
|
||
<li><a href="#selectedUnitsSetReactionToThreat" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Reaction<wbr/>To<wbr/>Threat</span></a></li>
|
||
<li><a href="#selectedUnitsSetSpeed" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Speed</span></a></li>
|
||
<li><a href="#selectedUnitsSetSpeedType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>selected<wbr/>Units<wbr/>Set<wbr/>Speed<wbr/>Type</span></a></li>
|
||
<li><a href="#spawnUnits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>spawn<wbr/>Units</span></a></li>
|
||
<li><a href="#update" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>update</span></a></li></ul></div></details></div>
|
||
<div class="site-menu">
|
||
<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>DCSOlympus</span></a>
|
||
<ul class="tsd-small-nested-navigation">
|
||
<li><a href="../modules/contextmenus_airbasecontextmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>contextmenus/airbasecontextmenu</span></a></li>
|
||
<li><a href="../modules/contextmenus_airbasespawnmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>contextmenus/airbasespawnmenu</span></a></li>
|
||
<li><a href="../modules/contextmenus_coalitionareacontextmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>contextmenus/coalitionareacontextmenu</span></a></li>
|
||
<li><a href="../modules/contextmenus_contextmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>contextmenus/contextmenu</span></a></li>
|
||
<li><a href="../modules/contextmenus_mapcontextmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>contextmenus/mapcontextmenu</span></a></li>
|
||
<li><a href="../modules/contextmenus_unitcontextmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>contextmenus/unitcontextmenu</span></a></li>
|
||
<li><a href="../modules/controls_control.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>controls/control</span></a></li>
|
||
<li><a href="../modules/controls_dropdown.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>controls/dropdown</span></a></li>
|
||
<li><a href="../modules/controls_slider.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>controls/slider</span></a></li>
|
||
<li><a href="../modules/controls_switch.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>controls/switch</span></a></li>
|
||
<li><a href="../modules/controls_unitspawnmenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>controls/unitspawnmenu</span></a></li>
|
||
<li><a href="../modules/index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>index</span></a></li>
|
||
<li><a href="../modules/map_boxselect.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/boxselect</span></a></li>
|
||
<li><a href="../modules/map_clickableminimap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/clickableminimap</span></a></li>
|
||
<li><a href="../modules/map_map.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>map/map</span></a></li>
|
||
<li><a href="../modules/mission_airbase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>mission/airbase</span></a></li>
|
||
<li><a href="../modules/mission_bullseye.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>mission/bullseye</span></a></li>
|
||
<li><a href="../modules/mission_missionhandler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>mission/missionhandler</span></a></li>
|
||
<li><a href="../modules/other_utils.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>other/utils</span></a></li>
|
||
<li><a href="../modules/panels_connectionstatuspanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/connectionstatuspanel</span></a></li>
|
||
<li><a href="../modules/panels_hotgrouppanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/hotgrouppanel</span></a></li>
|
||
<li><a href="../modules/panels_logpanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/logpanel</span></a></li>
|
||
<li><a href="../modules/panels_mouseinfopanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/mouseinfopanel</span></a></li>
|
||
<li><a href="../modules/panels_panel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/panel</span></a></li>
|
||
<li><a href="../modules/panels_serverstatuspanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/serverstatuspanel</span></a></li>
|
||
<li><a href="../modules/panels_unitcontrolpanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/unitcontrolpanel</span></a></li>
|
||
<li><a href="../modules/panels_unitinfopanel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>panels/unitinfopanel</span></a></li>
|
||
<li><a href="../modules/popups_popup.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>popups/popup</span></a></li>
|
||
<li><a href="../modules/server_dataextractor.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>server/dataextractor</span></a></li>
|
||
<li><a href="../modules/server_server.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>server/server</span></a></li>
|
||
<li><a href="../modules/unit_citiesDatabase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/cities<wbr/>Database</span></a></li>
|
||
<li><a href="../modules/unit_unit.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/unit</span></a></li>
|
||
<li>
|
||
<details class="tsd-index-accordion" open data-key="unit/unitsmanager"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/unit_unitsmanager.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>unit/unitsmanager</span></a></summary>
|
||
<div class="tsd-accordion-details">
|
||
<ul class="tsd-nested-navigation">
|
||
<li><a href="unit_unitsmanager.UnitsManager.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Units<wbr/>Manager</span></a></li></ul></div></details></li>
|
||
<li><a href="../modules/weapon_weapon.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>weapon/weapon</span></a></li>
|
||
<li><a href="../modules/weapon_weaponsmanager.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>weapon/weaponsmanager</span></a></li></ul></nav></div></div></div>
|
||
<div class="tsd-generator">
|
||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||
<div class="overlay"></div></body></html> |