aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/MUDControlCentre.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-09 19:33:34 -0400
committerMichael <[email protected]>2017-04-09 19:33:34 -0400
commit700a6a95cf2ca623aa6c0a780d2dc7003f4994f2 (patch)
tree0c336515b0d7b35e4ce098b8fc97d89eb49a4ab7 /ShiftOS.WinForms/Applications/MUDControlCentre.cs
parent2ac1033c2dcd0e70114ab9ee5c7bd129bff6c1fa (diff)
downloadshiftos_thereturn-700a6a95cf2ca623aa6c0a780d2dc7003f4994f2.tar.gz
shiftos_thereturn-700a6a95cf2ca623aa6c0a780d2dc7003f4994f2.tar.bz2
shiftos_thereturn-700a6a95cf2ca623aa6c0a780d2dc7003f4994f2.zip
Finish the MUD Control Centre story
Diffstat (limited to 'ShiftOS.WinForms/Applications/MUDControlCentre.cs')
-rw-r--r--ShiftOS.WinForms/Applications/MUDControlCentre.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Applications/MUDControlCentre.cs b/ShiftOS.WinForms/Applications/MUDControlCentre.cs
index 5a51f48..b8ba5f3 100644
--- a/ShiftOS.WinForms/Applications/MUDControlCentre.cs
+++ b/ShiftOS.WinForms/Applications/MUDControlCentre.cs
@@ -569,6 +569,8 @@ System version: {SaveSystem.CurrentSave.MajorVersion}.{SaveSystem.CurrentSave.Mi
Shared scripts: {scripts}
+Reputation: {SaveSystem.CurrentSave.RawReputation} ({SaveSystem.CurrentSave.Reputation})
+
Current legions: {legionname}";
}
@@ -640,6 +642,11 @@ Current legions: {legionname}";
ServerManager.SendMessage("legion_get_all", "");
}
+ public void ShowLegionSelector()
+ {
+ ServerManager.SendMessage("legion_get_all", "");
+ }
+
private void btnjoinlegion_Click(object sender, EventArgs e)
{
string shortname = lblegiontitle.Text.Split(']')[0].Remove(0, 1);
@@ -648,8 +655,12 @@ Current legions: {legionname}";
SaveSystem.SaveGame();
ServerManager.SendMessage("user_get_legion", JsonConvert.SerializeObject(SaveSystem.CurrentSave));
+ LegionChanged?.Invoke();
+
}
+ public event Action LegionChanged;
+
private void btnleavelegion_Click(object sender, EventArgs e)
{
string shortname = lblegiontitle.Text.Split(']')[0].Remove(0, 1);