Ejemplo n.º 1
0
        /// <summary>
        /// Initializes primary objects for platform use
        /// </summary>
        private static void StartUp()
        {
            _requestCallbacks = new Dictionary <int, System.Action <RequestEvent> >();
            _eventListeners   = new Dictionary <string, List <System.Action <RequestEvent> > >();
            ErrorReport       = new ErrorStatus();

            _accessToken = "";

            UserTemplate       = new GraphQLTemplate("UserTemplate");
            PlatformTemplate   = new GraphQLTemplate("PlatformTemplate");
            CryptoItemTemplate = new GraphQLTemplate("CryptoItemTemplate");
            IdentityTemplate   = new GraphQLTemplate("IdentityTemplate");
            RequestTemplate    = new GraphQLTemplate("RequestTemplate");

            _identities  = new EnjinIdentities();
            _cryptoItems = new EnjinCryptoItems();
            _users       = new EnjinUsers();
            _requests    = new EnjinRequests();
            _platform    = new EnjinPlatform();
        }