コード例 #1
0
ファイル: RPCService.cs プロジェクト: karlbright/LibOfLegends
 public RPCService(ConnectionProfile connectionData, ConnectCallbackType connectCallback, DisconnectCallbackType disconnectCallback = null, NetStatusCallbackType netStatusCallback = null)
 {
     ConnectionData = connectionData;
     ConnectCallback = connectCallback;
     DisconnectCallback = disconnectCallback;
     NetStatusCallback = netStatusCallback;
 }
コード例 #2
0
        public RPCService(ConnectionProfile connectionData, ConnectCallbackType connectCallback, DisconnectCallbackType disconnectCallback = null, NetStatusCallbackType netStatusCallback = null)
        {
            ConnectionData     = connectionData;
            ConnectCallback    = connectCallback;
            DisconnectCallback = disconnectCallback;
            NetStatusCallback  = netStatusCallback;

            NetConnection = null;
        }
コード例 #3
0
        public RPCService(ConnectionProfile connectionData, ConnectCallbackType connectCallback, DisconnectCallbackType disconnectCallback = null, NetStatusCallbackType netStatusCallback = null)
        {
            ConnectionData     = connectionData;
            ConnectCallback    = connectCallback;
            DisconnectCallback = disconnectCallback;
            NetStatusCallback  = netStatusCallback;

            /** Create service objects to call RPC functions */
            game         = new GameService(this);
            matchmaker   = new MatchmakerService(this);
            summoner     = new SummonerService(this);
            clientFacade = new ClientFacadeService(this);
            inventory    = new InventoryService(this);
            login        = new LoginService(this);
            mastery      = new MasteryService(this);
        }