Fix a bunch of compiler warnings (#10518)
This commit is contained in:
@@ -15,6 +15,7 @@ namespace Content.Client.Power.APC
|
||||
public static readonly Color EmagColor = Color.FromHex("#1f48d6");
|
||||
|
||||
[UsedImplicitly]
|
||||
[Obsolete("Subscribe to your component being initialised instead.")]
|
||||
public override void InitializeEntity(EntityUid entity)
|
||||
{
|
||||
base.InitializeEntity(entity);
|
||||
@@ -37,6 +38,7 @@ namespace Content.Client.Power.APC
|
||||
sprite.LayerSetShader(Layers.Environment, "unshaded");
|
||||
}
|
||||
|
||||
[Obsolete("Subscribe to AppearanceChangeEvent instead.")]
|
||||
public override void OnChangeData(AppearanceComponent component)
|
||||
{
|
||||
base.OnChangeData(component);
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace Content.Client.Power.SMES
|
||||
[UsedImplicitly]
|
||||
public sealed class SmesVisualizer : AppearanceVisualizer
|
||||
{
|
||||
[Obsolete("Subscribe to your component being initialised instead.")]
|
||||
public override void InitializeEntity(EntityUid entity)
|
||||
{
|
||||
base.InitializeEntity(entity);
|
||||
@@ -25,6 +26,7 @@ namespace Content.Client.Power.SMES
|
||||
sprite.LayerSetShader(Layers.Output, "unshaded");
|
||||
}
|
||||
|
||||
[Obsolete("Subscribe to AppearanceChangeEvent instead.")]
|
||||
public override void OnChangeData(AppearanceComponent component)
|
||||
{
|
||||
base.OnChangeData(component);
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace Content.Client.Power
|
||||
[UsedImplicitly]
|
||||
public sealed class PowerDeviceVisualizer : AppearanceVisualizer
|
||||
{
|
||||
[Obsolete("Subscribe to AppearanceChangeEvent instead.")]
|
||||
public override void OnChangeData(AppearanceComponent component)
|
||||
{
|
||||
base.OnChangeData(component);
|
||||
|
||||
Reference in New Issue
Block a user