Esempio n. 1
0
        public override IConnector CreateConnector(ConnectorType type, bool manualUpdate, bool autoReconnect, bool autoLogin)
        {
            ADebug.Log("CreateApolloConnection");


            if (GCloudCommon.InitializeInfo == null)
            {
                throw new Exception("IGCloud.Instance.Initialize must be called first!");
            }

            GCloudConnector connector = new GCloudConnector(type, manualUpdate, autoReconnect, autoLogin);

            return(connector);
        }
Esempio n. 2
0
        public override void DestroyConnector(IConnector connector)
        {
            ADebug.Log("DestroyConnector");
            if (connector == null)
            {
                return;
            }

            GCloudConnector con = connector as GCloudConnector;

            if (con != null)
            {
                con.Destroy();
            }
        }