Ejemplo n.º 1
0
 internal UserComponent(SharpShark p_Library)
     : base(p_Library)
 {
     Data        = null;
     CountryData = null;
     SessionID   = CommunicationToken = null;
 }
Ejemplo n.º 2
0
        public RemoraComponent(SharpShark p_Library)
            : base(p_Library)
        {
            m_QueuedMessages = new Queue <object>();

            m_Created         = false;
            m_PendingCreation = false;
        }
Ejemplo n.º 3
0
        internal BroadcastComponent(SharpShark p_Library)
            : base(p_Library)
        {
            Data          = null;
            SpecialGuests = new List <long>();

            CurrentBroadcastStatus      = BroadcastStatus.Idle;
            ChatEnabled                 = true;
            CurrentBroadcastCategoryTag = null;

            SuggestionsEnabled = true;
        }
Ejemplo n.º 4
0
        internal ChatComponent(SharpShark p_Library)
            : base(p_Library)
        {
            m_ReconnectionTimer = new Timer();
            ChatServers         = new Dictionary <string, int>();

            m_SocketClient = new Client();

            m_SocketClient.OnConnected        += OnConnected;
            m_SocketClient.OnDisconnected     += OnDisconnected;
            m_SocketClient.OnMessageProcessed += OnMessageProcessed;

            m_Handlers        = new Dictionary <string, Action <SharkResponseMessage> >();
            m_ShouldReconnect = true;
            m_Reconnect       = false;

            RegisterHandlers();
        }
Ejemplo n.º 5
0
 internal SharkComponent(SharpShark p_Library)
 {
     Library = p_Library;
 }
Ejemplo n.º 6
0
 protected EventsComponent(SharpShark p_Library)
     : base(p_Library)
 {
     m_EventHandlers = new Dictionary <int, List <Action <SharkEvent> > >();
 }
Ejemplo n.º 7
0
 internal QueueComponent(SharpShark p_Library)
     : base(p_Library)
 {
     CurrentQueue = new List <QueueSongData>();
 }
Ejemplo n.º 8
0
        public RequestDispatcher(SharpShark p_Library, String p_SecretKey)
        {
            Library = p_Library;

            m_SecretKey = p_SecretKey;
        }
Ejemplo n.º 9
0
 public static void FetchKey()
 {
     // Fetch secret keys.
     SecretKey = Beakynator.FetchSecretKey();
     Library   = new SharpShark(SecretKey);
 }
Ejemplo n.º 10
0
 public static void FetchKey()
 {
     // Fetch secret keys.
     SecretKey = Beakynator.FetchSecretKey();
     Library = new SharpShark(SecretKey);
 }
Ejemplo n.º 11
0
 internal SongsComponent(SharpShark p_Library)
     : base(p_Library)
 {
 }
Ejemplo n.º 12
0
 internal SearchComponent(SharpShark p_Library)
     : base(p_Library)
 {
 }