Skip to content

Commit f951ea3

Browse files
committed
update
add reverse method & property for events & new Player::Playgunsound helper method
1 parent 46cf27c commit f951ea3

17 files changed

Lines changed: 947 additions & 111 deletions

File tree

.github/README.md

Lines changed: 62 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -26,91 +26,68 @@
2626
Localized READMEs
2727
</h1>
2828

29-
<div align="center">
30-
<div>
31-
<img src="https://flagsapi.com/US/flat/64.png" height=30>
32-
<br>
33-
<a href="documentation/README.md">English</a>
34-
</div>
35-
<br>
36-
<div>
37-
<img src="https://flagsapi.com/RU/flat/64.png" height=30>
38-
<br>
39-
<a href="documentation/localization/README-Русский.md">Русский</a>
40-
</div>
41-
<br>
42-
<div>
43-
<img src="https://flagsapi.com/CN/flat/64.png" height=30>
44-
<br>
45-
<a href="documentation/localization/README-中文.md">中文</a>
46-
</div>
47-
<br>
48-
<div>
49-
<img src="https://flagsapi.com/ES/flat/64.png" height=30>
50-
<br>
51-
<a href="documentation/localization/README-ES.md">Español</a>
52-
</div>
53-
<br>
54-
<div>
55-
<img src="https://flagsapi.com/PL/flat/64.png" height=30>
56-
<br>
57-
<a href="documentation/localization/README-PL.md">Polski</a>
58-
</div>
59-
<br>
60-
<div>
61-
<img src="https://flagsapi.com/BR/flat/64.png" height=30>
62-
<br>
63-
<a href="documentation/localization/README-BR.md">Português-BR</a>
64-
</div>
65-
<br>
66-
<div>
67-
<img src="https://flagsapi.com/IT/flat/64.png" height=30>
68-
<br>
69-
<a href="documentation/localization/README-IT.md">Italiano</a>
70-
</div>
71-
<br>
72-
<div>
73-
<img src="https://flagsapi.com/CZ/flat/64.png" height=30>
74-
<br>
75-
<a href="documentation/localization/README-CS.md">Čeština</a>
76-
</div>
77-
<br>
78-
<div>
79-
<img src="https://flagsapi.com/DK/flat/64.png" height=30>
80-
<br>
81-
<a href="documentation/localization/README-DK.md">Dansk</a>
82-
</div>
83-
<br>
84-
<div>
85-
<img src="https://flagsapi.com/TR/flat/64.png" height=30>
86-
<br>
87-
<a href="documentation/localization/README-TR.md">Türkçe</a>
88-
</div>
89-
<br>
90-
<div>
91-
<img src="https://flagsapi.com/DE/flat/64.png" height=30>
92-
<br>
93-
<a href="documentation/localization/README-DE.md">Deutsch</a>
94-
</div>
95-
<br>
96-
<div>
97-
<img src="https://flagsapi.com/FR/flat/64.png" height=30>
98-
<br>
99-
<a href="documentation/localization/README-FR.md">Français</a>
100-
</div>
101-
<br>
102-
<div>
103-
<img src="https://flagsapi.com/KR/flat/64.png" height=30>
104-
<br>
105-
<a href="documentation/localization/README-KR.md">한국어</a>
106-
</div>
107-
<br>
108-
<div>
109-
<img src="https://flagsapi.com/TH/flat/64.png" height=30>
110-
<br>
111-
<a href="documentation/localization/README-ไทย.md">ไทย</a>
112-
</div>
113-
</div>
29+
<table align="center">
30+
<tr>
31+
<td align="center">
32+
<img src="https://flagsapi.com/US/flat/64.png" height=30><br>
33+
<a href="documentation/README.md">English</a>
34+
</td>
35+
<td align="center">
36+
<img src="https://flagsapi.com/RU/flat/64.png" height=30><br>
37+
<a href="documentation/localization/README-Русский.md">Русский</a>
38+
</td>
39+
<td align="center">
40+
<img src="https://flagsapi.com/CN/flat/64.png" height=30><br>
41+
<a href="documentation/localization/README-中文.md">中文</a>
42+
</td>
43+
<td align="center">
44+
<img src="https://flagsapi.com/ES/flat/64.png" height=30><br>
45+
<a href="documentation/localization/README-ES.md">Español</a>
46+
</td>
47+
<td align="center">
48+
<img src="https://flagsapi.com/PL/flat/64.png" height=30><br>
49+
<a href="documentation/localization/README-PL.md">Polski</a>
50+
</td>
51+
<td align="center">
52+
<img src="https://flagsapi.com/BR/flat/64.png" height=30><br>
53+
<a href="documentation/localization/README-BR.md">Português-BR</a>
54+
</td>
55+
<td align="center">
56+
<img src="https://flagsapi.com/IT/flat/64.png" height=30><br>
57+
<a href="documentation/localization/README-IT.md">Italiano</a>
58+
</td>
59+
</tr>
60+
<tr>
61+
<td align="center">
62+
<img src="https://flagsapi.com/CZ/flat/64.png" height=30><br>
63+
<a href="documentation/localization/README-CS.md">Čeština</a>
64+
</td>
65+
<td align="center">
66+
<img src="https://flagsapi.com/DK/flat/64.png" height=30><br>
67+
<a href="documentation/localization/README-DK.md">Dansk</a>
68+
</td>
69+
<td align="center">
70+
<img src="https://flagsapi.com/TR/flat/64.png" height=30><br>
71+
<a href="documentation/localization/README-TR.md">Türkçe</a>
72+
</td>
73+
<td align="center">
74+
<img src="https://flagsapi.com/DE/flat/64.png" height=30><br>
75+
<a href="documentation/localization/README-DE.md">Deutsch</a>
76+
</td>
77+
<td align="center">
78+
<img src="https://flagsapi.com/FR/flat/64.png" height=30><br>
79+
<a href="documentation/localization/README-FR.md">Français</a>
80+
</td>
81+
<td align="center">
82+
<img src="https://flagsapi.com/KR/flat/64.png" height=30><br>
83+
<a href="documentation/localization/README-KR.md">한국어</a>
84+
</td>
85+
<td align="center">
86+
<img src="https://flagsapi.com/TH/flat/64.png" height=30><br>
87+
<a href="documentation/localization/README-ไทย.md">ไทย</a>
88+
</td>
89+
</tr>
90+
</table>
11491

11592
<h5 align="center">This repo is a fork of <a href="https://github.com/Exiled-Team/EXILED">Exiled-Team/EXILED</a> after changes in project leadership.</h5>
11693
<h6 align="center">You can access the commit this update was forked from <a href="https://github.com/Exiled-Team/EXILED/tree/8b03fe7d9d2fe7ebffd5e6d1d038fc3881cdeb70">here</a>.</h6>
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
// -----------------------------------------------------------------------
2+
// <copyright file="GunSoundType.cs" company="ExMod Team">
3+
// Copyright (c) ExMod Team. All rights reserved.
4+
// Licensed under the CC BY-SA 3.0 license.
5+
// </copyright>
6+
// -----------------------------------------------------------------------
7+
namespace Exiled.API.Enums
8+
{
9+
/// <summary>
10+
/// Represents the type of sound a firearm can produce.
11+
/// </summary>
12+
/// <seealso cref="Extensions.ItemExtensions.GetSoundType(ItemType, int)"/>
13+
public enum GunSoundType
14+
{
15+
/// <summary>
16+
/// Unknown or unmapped sound.
17+
/// </summary>
18+
Unknown,
19+
20+
/// <summary>
21+
/// Sound of a gunshot.
22+
/// </summary>
23+
Fire,
24+
25+
/// <summary>
26+
/// Sound of a suppressed gunshot.
27+
/// </summary>
28+
SuppressedFire,
29+
30+
/// <summary>
31+
/// Sound of a dry fire (trigger pulled with an empty chamber).
32+
/// </summary>
33+
DryFire,
34+
35+
/// <summary>
36+
/// Sound of a firearm being equipped or drawn.
37+
/// </summary>
38+
Equip,
39+
40+
/// <summary>
41+
/// Sound of a rare or special equip animation.
42+
/// </summary>
43+
EquipRare,
44+
45+
/// <summary>
46+
/// Sound of a firearm being cocked or charged.
47+
/// </summary>
48+
Cock,
49+
50+
/// <summary>
51+
/// Sound of an initial or special cocking animation.
52+
/// </summary>
53+
CockInitial,
54+
55+
/// <summary>
56+
/// Sound of a magazine being inserted.
57+
/// </summary>
58+
ReloadInsert,
59+
60+
/// <summary>
61+
/// Sound of a magazine being ejected.
62+
/// </summary>
63+
ReloadEject,
64+
65+
/// <summary>
66+
/// Sound of a general reload action (often used for revolvers or shotguns).
67+
/// </summary>
68+
Reload,
69+
70+
/// <summary>
71+
/// Sound of a bolt or slide being pulled back.
72+
/// </summary>
73+
BoltOpen,
74+
75+
/// <summary>
76+
/// Sound of a bolt or slide releasing forward.
77+
/// </summary>
78+
BoltClose,
79+
80+
/// <summary>
81+
/// Sound of a round being ejected from the chamber.
82+
/// </summary>
83+
ChamberEject,
84+
85+
/// <summary>
86+
/// Sound of a revolver's cylinder rotating.
87+
/// </summary>
88+
CylinderRotate,
89+
90+
/// <summary>
91+
/// Sound of a revolver's cylinder being spun playfully.
92+
/// </summary>
93+
CylinderSpin,
94+
95+
/// <summary>
96+
/// Sound of a gunshot using special buckshot ammunition.
97+
/// </summary>
98+
FireBuckshot,
99+
100+
/// <summary>
101+
/// Sound of loading buckshot ammunition into an empty firearm.
102+
/// </summary>
103+
ReloadBuckshotEmpty,
104+
105+
/// <summary>
106+
/// Sound of ejecting or emptying buckshot ammunition.
107+
/// </summary>
108+
EjectBuckshot,
109+
110+
/// <summary>
111+
/// Sound of the weapon being inspected.
112+
/// </summary>
113+
Inspect,
114+
115+
/// <summary>
116+
/// Sound of a single shot in Disintegrator mode.
117+
/// </summary>
118+
FireDisintegrator,
119+
120+
/// <summary>
121+
/// Sound of the last shot in Disintegrator mode.
122+
/// </summary>
123+
FireDisintegratorLast,
124+
125+
/// <summary>
126+
/// Sound of a shot in 3x Burst mode.
127+
/// </summary>
128+
FireBurst3x,
129+
130+
/// <summary>
131+
/// Sound of the last shot in a 3x Burst sequence.
132+
/// </summary>
133+
FireBurst3xLast,
134+
135+
/// <summary>
136+
/// Sound of general weapon handling, rustling, or adjusting grip.
137+
/// </summary>
138+
WeaponHandling,
139+
140+
/// <summary>
141+
/// Sound of a weapon's stock being extended or adjusted.
142+
/// </summary>
143+
StockExtend,
144+
145+
/// <summary>
146+
/// Sound of the second sequential shot, often used in double-shot shotgun modes.
147+
/// </summary>
148+
FireDouble,
149+
150+
/// <summary>
151+
/// Sound of a single shotgun shell being ejected during unload.
152+
/// </summary>
153+
ShellEject,
154+
155+
/// <summary>
156+
/// Sound indicating the completion of a shotgun unload sequence.
157+
/// </summary>
158+
UnloadComplete,
159+
160+
/// <summary>
161+
/// Sound of a magazine being firmly tapped or locked into the firearm.
162+
/// </summary>
163+
ReloadLock,
164+
165+
/// <summary>
166+
/// Sound of a drum or extended magazine being ejected.
167+
/// </summary>
168+
ReloadEjectDrum,
169+
170+
/// <summary>
171+
/// Sound of a drum or extended magazine being inserted.
172+
/// </summary>
173+
ReloadInsertDrum,
174+
175+
/// <summary>
176+
/// Sound of a drum or extended magazine being firmly tapped or locked into place.
177+
/// </summary>
178+
ReloadLockDrum,
179+
}
180+
}

0 commit comments

Comments
 (0)