mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 22:18:52 +03:00
* initial sidestream port * ru locale * blyatison * упс * jannie qol (#6) * initial sidestream port * blyadison * cs1.4 (#4) * initial sidestream port * blyatison * antitryaska (#7) * initial sidestream port (still fucked though) * blyatison * o fugg (#8) speedmerge * o fugg * fugg :-DDD * attempt numero uno (#9) * fix desword sound (#10) * раз уж я тут сижу * whoops * shit --------- Co-authored-by: Spatison <137375981+Spatison@users.noreply.github.com>
26 lines
764 B
C#
26 lines
764 B
C#
using Content.Shared.Weapons.Ranged.Components;
|
|
using Content.Shared.Weapons.Ranged.Systems;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Shared.Weapons.Ranged.Events;
|
|
|
|
/// <summary>
|
|
/// Raised directed on the gun entity when <see cref="SharedGunSystem.RefreshModifiers"/>
|
|
/// is called, to update the values of <see cref="GunComponent"/> from other systems.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct GunRefreshModifiersEvent(
|
|
Entity<GunComponent> Gun,
|
|
SoundSpecifier? SoundGunshot,
|
|
float CameraRecoilScalar,
|
|
Angle AngleIncrease,
|
|
Angle AngleDecay,
|
|
Angle MaxAngle,
|
|
Angle MinAngle,
|
|
Angle BonusAngleDecay, // WWDP
|
|
Angle MaxBonusAngle, // WWDP
|
|
int ShotsPerBurst,
|
|
float FireRate,
|
|
float ProjectileSpeed
|
|
);
|