make some cnc helper functions not public
This commit is contained in:
@@ -41,7 +41,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CloseWindow()
|
void CloseWindow()
|
||||||
{
|
{
|
||||||
Game.ConnectionStateChanged -= ConnectionStateChanged;
|
Game.ConnectionStateChanged -= ConnectionStateChanged;
|
||||||
Widget.CloseWindow();
|
Widget.CloseWindow();
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddChatLine(Color c, string from, string text)
|
void AddChatLine(Color c, string from, string text)
|
||||||
{
|
{
|
||||||
var template = chatTemplate.Clone();
|
var template = chatTemplate.Clone();
|
||||||
var nameLabel = template.GetWidget<LabelWidget>("NAME");
|
var nameLabel = template.GetWidget<LabelWidget>("NAME");
|
||||||
|
|||||||
Reference in New Issue
Block a user