Logo
Explore Help
Sign In
juni/crystall-punk-14
1
0
Fork 0
You've already forked crystall-punk-14
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ee6be5bf11a2f045b3f218d25871c7038757d0dc
crystall-punk-14/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
{
[RegisterComponent, Friend(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.5 Page: 103ms Template: 2ms
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