ProtocolEvent

The ProtocolEvent class encapsulates the return type of the LayGO API function, lgo_Event().

using LaygoApi;

ProtocolEvent event = cid.Event();

if (event != null)
{
    LogEvent(event.ToString());
}