diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index 04b7d6df49..e944e82e7a 100755 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -80,7 +80,7 @@ namespace OpenRA internal static int LocalTick { get { return orderManager.LocalFrameNumber; } } const int NetTickScale = 3; // 120ms net tick for 40ms local tick - internal static event Action ConnectionStateChanged = _ => { }; + public static event Action ConnectionStateChanged = _ => { }; static ConnectionState lastConnectionState = ConnectionState.PreConnecting; public static int LocalClientId { get { return orderManager.Connection.LocalClientId; } } @@ -152,8 +152,8 @@ namespace OpenRA } } - internal static event Action LobbyInfoChanged = () => { }; - internal static event Action ConnectedToLobby = () => { }; + public static event Action LobbyInfoChanged = () => { }; + public static event Action ConnectedToLobby = () => { }; internal static void SyncLobbyInfo() { diff --git a/OpenRA.Game/Widgets/CheckboxWidget.cs b/OpenRA.Game/Widgets/CheckboxWidget.cs index 92ad126dc2..afd0784a1d 100644 --- a/OpenRA.Game/Widgets/CheckboxWidget.cs +++ b/OpenRA.Game/Widgets/CheckboxWidget.cs @@ -14,7 +14,7 @@ using OpenRA.Graphics; namespace OpenRA.Widgets { - class CheckboxWidget : Widget + public class CheckboxWidget : Widget { public string Text = ""; public int baseLine = 1; diff --git a/OpenRA.Game/Widgets/ColorBlockWidget.cs b/OpenRA.Game/Widgets/ColorBlockWidget.cs index 1c50b67fc8..862934f39c 100644 --- a/OpenRA.Game/Widgets/ColorBlockWidget.cs +++ b/OpenRA.Game/Widgets/ColorBlockWidget.cs @@ -14,7 +14,7 @@ using OpenRA.Graphics; namespace OpenRA.Widgets { - class ColorBlockWidget : Widget + public class ColorBlockWidget : Widget { public Func GetColor; diff --git a/OpenRA.Game/Widgets/MapPreviewWidget.cs b/OpenRA.Game/Widgets/MapPreviewWidget.cs index e5657a8ecd..4807b72317 100644 --- a/OpenRA.Game/Widgets/MapPreviewWidget.cs +++ b/OpenRA.Game/Widgets/MapPreviewWidget.cs @@ -17,7 +17,7 @@ using OpenRA.Graphics; namespace OpenRA.Widgets { - class MapPreviewWidget : Widget + public class MapPreviewWidget : Widget { public int SpawnClickRadius = 50; diff --git a/OpenRA.Game/Widgets/TextFieldWidget.cs b/OpenRA.Game/Widgets/TextFieldWidget.cs index 7a1eb88ef7..faed63b7e3 100644 --- a/OpenRA.Game/Widgets/TextFieldWidget.cs +++ b/OpenRA.Game/Widgets/TextFieldWidget.cs @@ -14,7 +14,7 @@ using OpenRA.Graphics; namespace OpenRA.Widgets { - class TextFieldWidget : Widget + public class TextFieldWidget : Widget { public string Text = ""; public int MaxLength = 0;