Exemple #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);
        }
Exemple #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();
            }
        }