Files
space-station-14/api/Content.Client/Content.Client.Weapons.Ranged.Systems.GunSystem.html
2023-10-08 01:38:46 +00:00

645 lines
41 KiB
HTML

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class GunSystem
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class GunSystem
">
<meta name="generator" content="docfx 2.56.7.0">
<link rel="shortcut icon" href="../../favicon.ico">
<link rel="stylesheet" href="../../styles/docfx.vendor.css">
<link rel="stylesheet" href="../../styles/docfx.css">
<link rel="stylesheet" href="../../styles/main.css">
<meta property="docfx:navrel" content="../../toc.html">
<meta property="docfx:tocrel" content="toc.html">
</head> <body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem">
<h1 id="Content_Client_Weapons_Ranged_Systems_GunSystem" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem" class="text-break">Class GunSystem
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html">SharedGunSystem</a></div>
<div class="level2"><span class="xref">GunSystem</span></div>
</div>
<div class="inheritedMembers">
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Content.Client.Weapons.Ranged.Systems.html">Content.Client.Weapons.Ranged.Systems</a></h6>
<h6><strong>Assembly</strong>: Content.Client.dll</h6>
<h5 id="Content_Client_Weapons_Ranged_Systems_GunSystem_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public sealed class GunSystem : SharedGunSystem</code></pre>
</div>
<h3 id="fields">Fields
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_HitscanProto.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.HitscanProto%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L36">View Source</a>
</span>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_HitscanProto" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.HitscanProto">HitscanProto</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string HitscanProto = null</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_SpreadOverlay.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.SpreadOverlay%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L38">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_SpreadOverlay_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.SpreadOverlay*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_SpreadOverlay" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.SpreadOverlay">SpreadOverlay</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool SpreadOverlay { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_CreateEffect_EntityUid_Content_Shared_Weapons_Ranged_Events_MuzzleFlashEvent_System_Nullable_EntityUid__.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.CreateEffect(EntityUid%2CContent.Shared.Weapons.Ranged.Events.MuzzleFlashEvent%2CSystem.Nullable%7BEntityUid%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L261">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_CreateEffect_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.CreateEffect*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_CreateEffect_EntityUid_Content_Shared_Weapons_Ranged_Events_MuzzleFlashEvent_System_Nullable_EntityUid__" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.CreateEffect(EntityUid,Content.Shared.Weapons.Ranged.Events.MuzzleFlashEvent,System.Nullable{EntityUid})">CreateEffect(EntityUid, MuzzleFlashEvent, Nullable&lt;EntityUid&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void CreateEffect(EntityUid uid, MuzzleFlashEvent message, EntityUid? user = null)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">EntityUid</span></td>
<td><span class="parametername">uid</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Events.MuzzleFlashEvent.html">MuzzleFlashEvent</a></td>
<td><span class="parametername">message</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">EntityUid</span>&gt;</td>
<td><span class="parametername">user</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_Cycle_EntityUid_Content_Shared_Weapons_Ranged_Components_BallisticAmmoProviderComponent_Robust_Shared_Map_MapCoordinates_.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.Cycle(EntityUid%2CContent.Shared.Weapons.Ranged.Components.BallisticAmmoProviderComponent%2CRobust.Shared.Map.MapCoordinates)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.Ballistic.cs/#L23">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_Cycle_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Cycle*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_Cycle_EntityUid_Content_Shared_Weapons_Ranged_Components_BallisticAmmoProviderComponent_Robust_Shared_Map_MapCoordinates_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Cycle(EntityUid,Content.Shared.Weapons.Ranged.Components.BallisticAmmoProviderComponent,Robust.Shared.Map.MapCoordinates)">Cycle(EntityUid, BallisticAmmoProviderComponent, MapCoordinates)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void Cycle(EntityUid uid, BallisticAmmoProviderComponent component, MapCoordinates coordinates)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">EntityUid</span></td>
<td><span class="parametername">uid</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Components.BallisticAmmoProviderComponent.html">BallisticAmmoProviderComponent</a></td>
<td><span class="parametername">component</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Robust.Shared.Map.MapCoordinates</span></td>
<td><span class="parametername">coordinates</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_Initialize.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.Initialize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L68">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_Initialize_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Initialize*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_Initialize" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Initialize">Initialize()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override void Initialize()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_Initialize">SharedGunSystem.Initialize()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBallistic.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBallistic%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.Ballistic.cs/#L9">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBallistic_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBallistic*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBallistic" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBallistic">InitializeBallistic()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void InitializeBallistic()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_InitializeBallistic">SharedGunSystem.InitializeBallistic()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBasicEntity.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBasicEntity%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.BasicEntity.cs/#L7">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBasicEntity_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBasicEntity*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBasicEntity" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBasicEntity">InitializeBasicEntity()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void InitializeBasicEntity()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_InitializeBasicEntity">SharedGunSystem.InitializeBasicEntity()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBattery.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBattery%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.Battery.cs/#L7">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBattery_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBattery*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeBattery" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeBattery">InitializeBattery()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void InitializeBattery()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_InitializeBattery">SharedGunSystem.InitializeBattery()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeChamberMagazine.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeChamberMagazine%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.ChamberMagazine.cs/#L13">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeChamberMagazine_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeChamberMagazine*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeChamberMagazine" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeChamberMagazine">InitializeChamberMagazine()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void InitializeChamberMagazine()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_InitializeChamberMagazine">SharedGunSystem.InitializeChamberMagazine()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeMagazine.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeMagazine%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.Magazine.cs/#L7">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeMagazine_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeMagazine*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeMagazine" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeMagazine">InitializeMagazine()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void InitializeMagazine()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_InitializeMagazine">SharedGunSystem.InitializeMagazine()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeRevolver.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeRevolver%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.Revolver.cs/#L9">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeRevolver_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeRevolver*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_InitializeRevolver" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.InitializeRevolver">InitializeRevolver()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void InitializeRevolver()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Systems.SharedGunSystem.html#Content_Shared_Weapons_Ranged_Systems_SharedGunSystem_InitializeRevolver">SharedGunSystem.InitializeRevolver()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_OnMagazineSlotChange_EntityUid_Content_Shared_Weapons_Ranged_MagazineAmmoProviderComponent_Robust_Shared_Containers_ContainerModifiedMessage_.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.OnMagazineSlotChange(EntityUid%2CContent.Shared.Weapons.Ranged.MagazineAmmoProviderComponent%2CRobust.Shared.Containers.ContainerModifiedMessage)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.ChamberMagazine.cs/#L41">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_OnMagazineSlotChange_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.OnMagazineSlotChange*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_OnMagazineSlotChange_EntityUid_Content_Shared_Weapons_Ranged_MagazineAmmoProviderComponent_Robust_Shared_Containers_ContainerModifiedMessage_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.OnMagazineSlotChange(EntityUid,Content.Shared.Weapons.Ranged.MagazineAmmoProviderComponent,Robust.Shared.Containers.ContainerModifiedMessage)">OnMagazineSlotChange(EntityUid, MagazineAmmoProviderComponent, ContainerModifiedMessage)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void OnMagazineSlotChange(EntityUid uid, MagazineAmmoProviderComponent component, ContainerModifiedMessage args)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">EntityUid</span></td>
<td><span class="parametername">uid</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.MagazineAmmoProviderComponent.html">MagazineAmmoProviderComponent</a></td>
<td><span class="parametername">component</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Robust.Shared.Containers.ContainerModifiedMessage</span></td>
<td><span class="parametername">args</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_Popup_System_String_System_Nullable_EntityUid__System_Nullable_EntityUid__.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.Popup(System.String%2CSystem.Nullable%7BEntityUid%7D%2CSystem.Nullable%7BEntityUid%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L253">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_Popup_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Popup*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_Popup_System_String_System_Nullable_EntityUid__System_Nullable_EntityUid__" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Popup(System.String,System.Nullable{EntityUid},System.Nullable{EntityUid})">Popup(String, Nullable&lt;EntityUid&gt;, Nullable&lt;EntityUid&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void Popup(string message, EntityUid? uid, EntityUid? user)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">message</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">EntityUid</span>&gt;</td>
<td><span class="parametername">uid</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">EntityUid</span>&gt;</td>
<td><span class="parametername">user</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_Shoot_EntityUid_Content_Shared_Weapons_Ranged_Components_GunComponent_List_System_ValueTuple_System_Nullable_EntityUid__Content_Shared_Weapons_Ranged_IShootable___Robust_Shared_Map_EntityCoordinates_Robust_Shared_Map_EntityCoordinates_System_Boolean__System_Nullable_EntityUid__System_Boolean_.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.Shoot(EntityUid%2CContent.Shared.Weapons.Ranged.Components.GunComponent%2CList%7BSystem.ValueTuple%7BSystem.Nullable%7BEntityUid%7D%2CContent.Shared.Weapons.Ranged.IShootable%7D%7D%2CRobust.Shared.Map.EntityCoordinates%2CRobust.Shared.Map.EntityCoordinates%2CSystem.Boolean%40%2CSystem.Nullable%7BEntityUid%7D%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L183">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_Shoot_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Shoot*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_Shoot_EntityUid_Content_Shared_Weapons_Ranged_Components_GunComponent_List_System_ValueTuple_System_Nullable_EntityUid__Content_Shared_Weapons_Ranged_IShootable___Robust_Shared_Map_EntityCoordinates_Robust_Shared_Map_EntityCoordinates_System_Boolean__System_Nullable_EntityUid__System_Boolean_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Shoot(EntityUid,Content.Shared.Weapons.Ranged.Components.GunComponent,List{System.ValueTuple{System.Nullable{EntityUid},Content.Shared.Weapons.Ranged.IShootable}},Robust.Shared.Map.EntityCoordinates,Robust.Shared.Map.EntityCoordinates,System.Boolean@,System.Nullable{EntityUid},System.Boolean)">Shoot(EntityUid, GunComponent, List&lt;(Nullable&lt;EntityUid&gt; Entity, IShootable Shootable)&gt;, EntityCoordinates, EntityCoordinates, out Boolean, Nullable&lt;EntityUid&gt;, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override void Shoot(EntityUid gunUid, GunComponent gun, List&lt;(EntityUid? Entity, IShootable Shootable)&gt; ammo, EntityCoordinates fromCoordinates, EntityCoordinates toCoordinates, out bool userImpulse, EntityUid? user = null, bool throwItems = false)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">EntityUid</span></td>
<td><span class="parametername">gunUid</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.Components.GunComponent.html">GunComponent</a></td>
<td><span class="parametername">gun</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">List</span>&lt;<span class="xref">System.ValueTuple</span>&lt;<span class="xref">System.Nullable</span>&lt;<span class="xref">EntityUid</span>&gt;, <a class="xref" href="../Content.Shared/Content.Shared.Weapons.Ranged.IShootable.html">IShootable</a>&gt;&gt;</td>
<td><span class="parametername">ammo</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Robust.Shared.Map.EntityCoordinates</span></td>
<td><span class="parametername">fromCoordinates</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Robust.Shared.Map.EntityCoordinates</span></td>
<td><span class="parametername">toCoordinates</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">userImpulse</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">EntityUid</span>&gt;</td>
<td><span class="parametername">user</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">throwItems</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_Update_System_Single_.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.Update(System.Single)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.cs/#L130">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_Update_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Update*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_Update_System_Single_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.Update(System.Single)">Update(Single)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override void Update(float frameTime)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">frameTime</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem_UpdateAmmoCount_EntityUid_.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem.UpdateAmmoCount(EntityUid)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.AmmoCounter.cs/#L61">View Source</a>
</span>
<a id="Content_Client_Weapons_Ranged_Systems_GunSystem_UpdateAmmoCount_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.UpdateAmmoCount*"></a>
<h4 id="Content_Client_Weapons_Ranged_Systems_GunSystem_UpdateAmmoCount_EntityUid_" data-uid="Content.Client.Weapons.Ranged.Systems.GunSystem.UpdateAmmoCount(EntityUid)">UpdateAmmoCount(EntityUid)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override void UpdateAmmoCount(EntityUid uid)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">EntityUid</span></td>
<td><span class="parametername">uid</span></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/space-wizards/space-station-14/new/master/apiSpec/new?filename=Content_Client_Weapons_Ranged_Systems_GunSystem.md&amp;value=---%0Auid%3A%20Content.Client.Weapons.Ranged.Systems.GunSystem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/space-wizards/space-station-14/blob/master/Content.Client/Weapons/Ranged/Systems/GunSystem.SpentAmmo.cs/#L7" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<div class="toggle-mode">
<div class="icon">
<i aria-hidden="true"></i>
</div>
<label class="switch">
<input type="checkbox" id="switch-style">
<span class="slider round"></span>
</label>
<div class="icon">
<i aria-hidden="true"></i>
</div>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<div class="pull-left">
<span>Generated by <strong>DocFX</strong></span>
</div>
<div class="toggle-mode pull-right visible-sm visible-xs">
<div class="icon">
<i aria-hidden="true"></i>
</div>
<label class="switch">
<input type="checkbox" id="switch-style-m">
<span class="slider round"></span>
</label>
<div class="icon">
<i aria-hidden="true"></i>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="../../styles/toggle-theme.js"></script>
</footer> </div>
<script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../../styles/docfx.js"></script>
<script type="text/javascript" src="../../styles/main.js"></script>
</body>
</html>