Skip to content

Commit 901b203

Browse files
Add comments
1 parent 3c5d214 commit 901b203

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Runtime/MediaController/Core/BcpInterface.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public class BcpInterfaceOptions
4141
public bool LogSentMessages => _logSentMessages;
4242
}
4343

44+
/// <summary>
45+
/// Central hub for all communication via BCP. Manages BCP server and message handlers, provides
46+
/// reset events and sends hello, reset and goodbye messages at appropriate times.
47+
/// </summary>
4448
public class BcpInterface : IDisposable
4549
{
4650
public BcpConnectionState ConnectionState => Server.ConnectionState;

Runtime/MediaController/Core/BcpMessage.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
namespace VisualPinball.Engine.Mpf.Unity.MediaController
2020
{
21+
/// <summary>
22+
/// The generic form of all BCP messages. Consists of a command and optionally parameters. Can
23+
/// be parsed into more specific types using implementations of <c>BcpMessageHandler</c>.
24+
/// </summary>
2125
public class BcpMessage
2226
{
2327
public readonly string Command;

0 commit comments

Comments
 (0)