mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-28 02:57:52 +03:00
* Уэээээээ * Почти настрадались * Скоро конец.... * СКОРО * Мышки плакали, кололись, но продолжали упорно жрать кактус * Все ближе! * Это такой конец? * Книжка говна * фиксики * ОНО ЖИВОЕ * Телепорт * разное * Added byond * ивенты теперь работают * Разфикс телепорта * Свет мой зеркальце скажи, да всю правду доложи - Я ль робастней всех на свете? * Разное * Еще многа всего * Многа разнава * Скоро конец.... * ЭТО КОНЕЦ * Фикс линтера (ну, или я на это надеюсь) * Еще один фикс линтера * Победа! * фиксики * пу пу пу * Фикс подмастерья * Мисклик * Высокочастотный меч * Неймспейсы * Пул способностей мага
45 lines
1.4 KiB
C#
45 lines
1.4 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;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Polymorph.Components;
|
|
|
|
/// <summary>
|
|
/// Component added to disguise entities.
|
|
/// Used by client to copy over appearance from the disguise's source entity.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedChameleonProjectorSystem))]
|
|
[AutoGenerateComponentState(true)]
|
|
public sealed partial class ChameleonDisguiseComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The user of this disguise.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityUid User;
|
|
|
|
/// <summary>
|
|
/// The projector that created this disguise.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityUid Projector;
|
|
|
|
/// <summary>
|
|
/// The disguise source entity for copying the sprite.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid SourceEntity;
|
|
|
|
/// <summary>
|
|
/// The source entity's prototype.
|
|
/// Used as a fallback if the source entity was deleted.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntProtoId? SourceProto;
|
|
} |