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

            Interface = iface;
        }
Ejemplo n.º 3
0
        public override void DestroyInterface(bool server)
        {
            if (!server)
            {
                InterfaceClient = null;
            }

            if (server)
            {
                InterfaceServer = null;
            }
        }
Ejemplo n.º 4
0
        public virtual void SetInterface(bool server, SteamInterface iface)
        {
            if (server)
            {
                InterfaceServer = iface;
            }

            if (!server)
            {
                InterfaceClient = iface;
            }
        }
Ejemplo n.º 5
0
 public override void DestroyInterface(bool server)
 {
     Interface = null;
 }
 internal override void DestroyInterface(bool server)
 {
     Interface = null;
 }