mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-27 10:38:02 +03:00
* Уэээээээ * Почти настрадались * Скоро конец.... * СКОРО * Мышки плакали, кололись, но продолжали упорно жрать кактус * Все ближе! * Это такой конец? * Книжка говна * фиксики * ОНО ЖИВОЕ * Телепорт * разное * Added byond * ивенты теперь работают * Разфикс телепорта * Свет мой зеркальце скажи, да всю правду доложи - Я ль робастней всех на свете? * Разное * Еще многа всего * Многа разнава * Скоро конец.... * ЭТО КОНЕЦ * Фикс линтера (ну, или я на это надеюсь) * Еще один фикс линтера * Победа! * фиксики * пу пу пу * Фикс подмастерья * Мисклик * Высокочастотный меч * Неймспейсы * Пул способностей мага
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
// SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
|
|
// SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using Content.Shared.Polymorph.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Polymorph.Components;
|
|
|
|
/// <summary>
|
|
/// Added to a player when they use a chameleon projector.
|
|
/// Handles making them invisible and revealing when damaged enough or switching hands.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedChameleonProjectorSystem))]
|
|
[AutoGenerateComponentState]
|
|
public sealed partial class ChameleonDisguisedComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The disguise entity parented to the player.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid Disguise;
|
|
|
|
/// <summary>
|
|
/// For client, whether the user's sprite was previously visible or not.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool WasVisible;
|
|
} |