Use SharedSpeciesComponent on the client.
This commit is contained in:
@@ -16,6 +16,7 @@ using SS14.Shared.IoC;
|
|||||||
using SS14.Shared.Log;
|
using SS14.Shared.Log;
|
||||||
using SS14.Shared.Utility;
|
using SS14.Shared.Utility;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Content.Shared.GameObjects.Components.Mobs;
|
||||||
using SS14.Client.Graphics.Overlays;
|
using SS14.Client.Graphics.Overlays;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects
|
namespace Content.Client.GameObjects
|
||||||
@@ -23,12 +24,8 @@ namespace Content.Client.GameObjects
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A character UI component which shows the current damage state of the mob (living/dead)
|
/// A character UI component which shows the current damage state of the mob (living/dead)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SpeciesUI : Component, ICharacterUI
|
public class SpeciesUI : SharedSpeciesComponent, ICharacterUI
|
||||||
{
|
{
|
||||||
public override string Name => "Species";
|
|
||||||
|
|
||||||
public override uint? NetID => ContentNetIDs.SPECIES;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Holds the godot control for the species window
|
/// Holds the godot control for the species window
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.GameObjects.Components.Mobs
|
|||||||
{
|
{
|
||||||
public sealed override string Name => "Species";
|
public sealed override string Name => "Species";
|
||||||
|
|
||||||
public override uint? NetID => ContentNetIDs.SPECIES;
|
public sealed override uint? NetID => ContentNetIDs.SPECIES;
|
||||||
|
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public enum MobVisuals
|
public enum MobVisuals
|
||||||
@@ -31,4 +31,4 @@ namespace Content.Shared.GameObjects.Components.Mobs
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user