示例#1
0
        private void OnMechUpdatedCallback(int mechNo, ref PinMameApi.PinmameMechInfo mechInfoRef)
        {
            var mechInfo = new PinMameMechInfo(mechInfoRef);

            Logger.Trace($"OnMechUpdatedCallback - mechNo={mechNo}, mechInfo={mechInfo}");

            OnMechUpdated?.Invoke(mechNo, mechInfo);
        }
示例#2
0
 static void OnMechUpdated(int mechNo, PinMameMechInfo mechInfo)
 {
     Logger.Info($"OnMechUpdated: mechNo={mechNo}, mechInfo={mechInfo}, sw33={_pinMame.GetSwitch(33)}, sw32={_pinMame.GetSwitch(32)}");
 }