예제 #1
0
 internal static void WatchInterface(SteamInterface steamInterface)
 {
     if (SteamServer.openIterfaces.Contains(steamInterface))
     {
         throw new Exception("openIterfaces already contains interface!");
     }
     SteamServer.openIterfaces.Add(steamInterface);
 }
예제 #2
0
        public virtual void SetInterface(bool server, SteamInterface iface)
        {
            if (!server)
            {
                throw new System.NotSupportedException();
            }

            Interface = iface;
        }
예제 #3
0
        public override void DestroyInterface(bool server)
        {
            if (!server)
            {
                InterfaceClient = null;
            }

            if (server)
            {
                InterfaceServer = null;
            }
        }
예제 #4
0
        public virtual void SetInterface(bool server, SteamInterface iface)
        {
            if (server)
            {
                InterfaceServer = iface;
            }

            if (!server)
            {
                InterfaceClient = iface;
            }
        }
예제 #5
0
 public override void DestroyInterface(bool server)
 {
     Interface = null;
 }
 internal override void DestroyInterface(bool server)
 {
     Interface = null;
 }