Exemplo n.º 1
0
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
     rpcConnection.RegisterServiceMethodListener(this.m_friendsNotifyService.Id, 1, new RPCContextDelegate(this.NotifyFriendAddedListenerCallback));
     rpcConnection.RegisterServiceMethodListener(this.m_friendsNotifyService.Id, 2, new RPCContextDelegate(this.NotifyFriendRemovedListenerCallback));
     rpcConnection.RegisterServiceMethodListener(this.m_friendsNotifyService.Id, 3, new RPCContextDelegate(this.NotifyReceivedInvitationAddedCallback));
     rpcConnection.RegisterServiceMethodListener(this.m_friendsNotifyService.Id, 4, new RPCContextDelegate(this.NotifyReceivedInvitationRemovedCallback));
 }
Exemplo n.º 2
0
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
     rpcConnection.RegisterServiceMethodListener(this.m_challengeNotifyService.Id, 1u, new RPCContextDelegate(this.ChallengeUserCallback));
     rpcConnection.RegisterServiceMethodListener(this.m_challengeNotifyService.Id, 2u, new RPCContextDelegate(this.ChallengeResultCallback));
     rpcConnection.RegisterServiceMethodListener(this.m_challengeNotifyService.Id, 3u, new RPCContextDelegate(this.OnExternalChallengeCallback));
     rpcConnection.RegisterServiceMethodListener(this.m_challengeNotifyService.Id, 4u, new RPCContextDelegate(this.OnExternalChallengeResultCallback));
 }
Exemplo n.º 3
0
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_accountNotify.Id, 1u, new RPCContextDelegate(this.HandleAccountNotify_AccountStateUpdated));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_accountNotify.Id, 2u, new RPCContextDelegate(this.HandleAccountNotify_GameAccountStateUpdated));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_accountNotify.Id, 3u, new RPCContextDelegate(this.HandleAccountNotify_GameAccountsUpdated));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_accountNotify.Id, 4u, new RPCContextDelegate(this.HandleAccountNotify_GameSessionUpdated));
 }
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_authClientService.Id, 5, new RPCContextDelegate(this.HandleLogonCompleteRequest));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_authClientService.Id, 10, new RPCContextDelegate(this.HandleLogonUpdateRequest));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_authClientService.Id, 1, new RPCContextDelegate(this.HandleLoadModuleRequest));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_authClientService.Id, 12, new RPCContextDelegate(this.HandleLogonQueueUpdate));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_authClientService.Id, 13, new RPCContextDelegate(this.HandleLogonQueueEnd));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_authClientService.Id, 14, new RPCContextDelegate(this.HandleGameAccountSelected));
 }
Exemplo n.º 5
0
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 1u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifyAdd));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 2u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifyJoin));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 3u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifyRemove));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 4u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifyLeave));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 5u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifySendMessage));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 6u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifyUpdateChannelState));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_channelSubscriberService.Id, 7u, new RPCContextDelegate(this.HandleChannelSubscriber_NotifyUpdateMemberState));
     this.m_rpcConnection.RegisterServiceMethodListener(ChannelAPI.m_channelInvitationNotifyService.Id, 1u, new RPCContextDelegate(this.HandleChannelInvitation_NotifyReceivedInvitationAdded));
     this.m_rpcConnection.RegisterServiceMethodListener(ChannelAPI.m_channelInvitationNotifyService.Id, 2u, new RPCContextDelegate(this.HandleChannelInvitation_NotifyReceivedInvitationRemoved));
     this.m_rpcConnection.RegisterServiceMethodListener(ChannelAPI.m_channelInvitationNotifyService.Id, 3u, new RPCContextDelegate(this.HandleChannelInvitation_NotifyReceivedSuggestionAdded));
     this.m_rpcConnection.RegisterServiceMethodListener(ChannelAPI.m_channelInvitationNotifyService.Id, 4u, new RPCContextDelegate(this.HandleChannelInvitation_NotifyHasRoomForInvitation));
 }
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
 }
Exemplo n.º 7
0
 public override void InitRPCListeners(RPCConnection rpcConnection)
 {
     base.InitRPCListeners(rpcConnection);
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_gameUtilitiesService.Id, 6u, new RPCContextDelegate(this.HandleGameUtilityServerRequest));
     this.m_rpcConnection.RegisterServiceMethodListener(this.m_gameFactorySubscriberService.Id, 1u, new RPCContextDelegate(this.HandleNotifyGameFoundRequest));
 }
Exemplo n.º 8
0
 public virtual void InitRPCListeners(RPCConnection rpcConnection)
 {
     this.m_rpcConnection = rpcConnection;
 }