41 lines
669 B
C#
41 lines
669 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public static class ComHub
|
|
{
|
|
public static event Action<string> InputRecieved;
|
|
public static event Action<string> PaymentRecieved;
|
|
|
|
|
|
|
|
public static string[] GetPortNames()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public static int OpenPort(string portName)
|
|
{
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static string GetRole(int handle)
|
|
{
|
|
|
|
return string.Empty;
|
|
}
|
|
|
|
public static ComDevice CreateDevice(int handle, ComDeviceType deviceType)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public enum ComDeviceType
|
|
{
|
|
PeripheralController,
|
|
PrizeStand
|
|
}
|