Mark IItemStatus as obsolete (#6914)

This commit is contained in:
metalgearsloth
2022-03-03 01:09:13 +11:00
committed by GitHub
parent 753dc628bf
commit 1fab6f7867

View File

@@ -13,6 +13,7 @@ namespace Content.Client.Items.Components
/// <returns> /// <returns>
/// The control to render as status. /// The control to render as status.
/// </returns> /// </returns>
[Obsolete("Use ItemStatusCollectMessage")]
public Control MakeControl(); public Control MakeControl();
/// <summary> /// <summary>
@@ -26,6 +27,7 @@ namespace Content.Client.Items.Components
/// Note that this may be called after a second invocation of <see cref="MakeControl"/> (for example if the user switches the item between two hands). /// Note that this may be called after a second invocation of <see cref="MakeControl"/> (for example if the user switches the item between two hands).
/// </para> /// </para>
/// </remarks> /// </remarks>
[Obsolete("Use ItemStatusCollectMessage")]
public void DestroyControl(Control control) public void DestroyControl(Control control)
{ {
} }