Fix a couple warnings.
This commit is contained in:
@@ -44,7 +44,9 @@ namespace Content.Client
|
|||||||
{
|
{
|
||||||
public class EntryPoint : GameClient
|
public class EntryPoint : GameClient
|
||||||
{
|
{
|
||||||
|
#pragma warning disable 649
|
||||||
[Dependency] private readonly IPlayerManager _playerManager;
|
[Dependency] private readonly IPlayerManager _playerManager;
|
||||||
|
#pragma warning restore 649
|
||||||
|
|
||||||
public override void Init()
|
public override void Init()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ namespace Content.Client.Research
|
|||||||
#pragma warning disable CS0649
|
#pragma warning disable CS0649
|
||||||
[Dependency]
|
[Dependency]
|
||||||
private IPrototypeManager PrototypeManager;
|
private IPrototypeManager PrototypeManager;
|
||||||
[Dependency]
|
|
||||||
private IResourceCache ResourceCache;
|
|
||||||
#pragma warning restore
|
#pragma warning restore
|
||||||
|
|
||||||
private ItemList Items;
|
private ItemList Items;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ namespace Content.Client.Research
|
|||||||
|
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private ItemList QueueList;
|
private ItemList QueueList;
|
||||||
private Label Name;
|
private Label NameLabel;
|
||||||
private Label Description;
|
private Label Description;
|
||||||
private TextureRect Icon;
|
private TextureRect Icon;
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ namespace Content.Client.Research
|
|||||||
SizeFlagsStretchRatio = 3,
|
SizeFlagsStretchRatio = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
Name = new Label()
|
NameLabel = new Label()
|
||||||
{
|
{
|
||||||
RectClipContent = true,
|
RectClipContent = true,
|
||||||
SizeFlagsHorizontal = SizeFlags.Fill,
|
SizeFlagsHorizontal = SizeFlags.Fill,
|
||||||
@@ -101,7 +101,7 @@ namespace Content.Client.Research
|
|||||||
SelectMode = ItemList.ItemListSelectMode.None
|
SelectMode = ItemList.ItemListSelectMode.None
|
||||||
};
|
};
|
||||||
|
|
||||||
vboxInfo.AddChild(Name);
|
vboxInfo.AddChild(NameLabel);
|
||||||
vboxInfo.AddChild(Description);
|
vboxInfo.AddChild(Description);
|
||||||
|
|
||||||
hbox.AddChild(Icon);
|
hbox.AddChild(Icon);
|
||||||
@@ -123,7 +123,7 @@ namespace Content.Client.Research
|
|||||||
{
|
{
|
||||||
Icon.Texture = recipe.Icon.Frame0();
|
Icon.Texture = recipe.Icon.Frame0();
|
||||||
if (recipe.Name != null)
|
if (recipe.Name != null)
|
||||||
Name.Text = recipe.Name;
|
NameLabel.Text = recipe.Name;
|
||||||
if (recipe.Description != null)
|
if (recipe.Description != null)
|
||||||
Description.Text = recipe.Description;
|
Description.Text = recipe.Description;
|
||||||
}
|
}
|
||||||
@@ -131,7 +131,7 @@ namespace Content.Client.Research
|
|||||||
public void ClearInfo()
|
public void ClearInfo()
|
||||||
{
|
{
|
||||||
Icon.Texture = Texture.Transparent;
|
Icon.Texture = Texture.Transparent;
|
||||||
Name.Text = "-------";
|
NameLabel.Text = "-------";
|
||||||
Description.Text = "Not producing anything.";
|
Description.Text = "Not producing anything.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,9 @@ namespace Content.Server.GameObjects
|
|||||||
{
|
{
|
||||||
public class HandsComponent : SharedHandsComponent, IHandsComponent
|
public class HandsComponent : SharedHandsComponent, IHandsComponent
|
||||||
{
|
{
|
||||||
|
#pragma warning disable 649
|
||||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
||||||
|
#pragma warning restore 649
|
||||||
|
|
||||||
private string activeIndex;
|
private string activeIndex;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user