Logo
Explore Help
Register Sign In
Cinka/OldThink
1
0
Fork 0
You've already forked OldThink
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
bb2aa2bfdb5ee74ea5ffef0caeb3d23eb72cc4d9
OldThink/Content.Server/Flash/Components/FlashImmunityComponent.cs

11 lines
295 B
C#
Raw Normal View History

Refactors flashes to ECS, sunglasses protect you from being flashed. (#4579) * Refactors flashes to ECS, sunglasses protect you from being flashed. * VV ReadWrite for FlashImmunity Enabled. * Use cached IEntityLookup. * Consistent formatting. * Fix flashbang duration. Flash duration is a mess. * Small area flash code cleanup. * Flashable state is only sent to attached player.
2021-09-09 16:20:41 +02:00
namespace Content.Server.Flash.Components
{
Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704)
2022-06-07 15:26:28 +02:00
[RegisterComponent, Access(typeof(FlashSystem))]
Seal/abstract/virtual everything (#6739)
2022-02-16 00:23:23 -07:00
public sealed class FlashImmunityComponent : Component
Refactors flashes to ECS, sunglasses protect you from being flashed. (#4579) * Refactors flashes to ECS, sunglasses protect you from being flashed. * VV ReadWrite for FlashImmunity Enabled. * Use cached IEntityLookup. * Consistent formatting. * Fix flashbang duration. Flash duration is a mess. * Small area flash code cleanup. * Flashable state is only sent to attached player.
2021-09-09 16:20:41 +02:00
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("enabled")]
public bool Enabled { get; set; } = true;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 5652ms Template: 35ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API