Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(152)  |  Call(152)  |  Derive(0)  |  Import(0)

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/ExchangeService.py   Diablo-III-Protocol-Simulator(Download)
  def CreateOrderBook(self, packet):
    request = Utils.LoadRequest(exchange.CreateOrderBookRequest(), packet)
    response = exchange.CreateOrderBookResponse()
    return self.PerformRpc(0x02, request, response, packet)
 
  def PlaceOfferOnOrderBook(self, packet):
    request = Utils.LoadRequest(exchange.PlaceOfferOnOrderBookRequest(), packet)
    response = exchange.PlaceOfferOnOrderBookResponse()
    return self.PerformRpc(0x03, request, response, packet)
  def PlaceOfferCreateOrderBookIfNeeded(self, packet):
    request = Utils.LoadRequest(exchange.PlaceOfferCreateOrderBookIfNeededRequest(), packet)
    response = exchange.PlaceOfferCreateOrderBookIfNeededResponse()
    return self.PerformRpc(0x04, request, response, packet)
 
  def PlaceBidOnOrderBook(self, packet):
    request = Utils.LoadRequest(exchange.PlaceBidOnOrderBookRequest(), packet)
    response = exchange.PlaceBidOnOrderBookResponse()
    return self.PerformRpc(0x05, request, response, packet)
  def PlaceBidCreateOrderBookIfNeeded(self, packet):
    request = Utils.LoadRequest(exchange.PlaceBidCreateOrderBookIfNeededRequest(), packet)
    response = exchange.PlaceBidCreateOrderBookIfNeededResponse()
    return self.PerformRpc(0x06, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/GameMaster.py   Diablo-III-Protocol-Simulator(Download)
  def JoinGame(self, packet):
    request = Utils.LoadRequest(game_master.JoinGameRequest(), packet)
    response = game_master.JoinGameResponse()
    return self.PerformRpc(0x01, request, response, packet)
 
  def ListFactories(self, packet):
    request = Utils.LoadRequest(game_master.ListFactoriesRequest(), packet)
    response = game_master.ListFactoriesResponse()
    return self.PerformRpc(0x02, request, response, packet)
  def FindGame(self, packet):
    request = Utils.LoadRequest(game_master.FindGameRequest(), packet)
    response = game_master.FindGameResponse()
    return self.PerformRpc(0x03, request, response, packet)
 
  def CancelFindGame(self, packet):
    request = Utils.LoadRequest(game_master.CancelFindGameRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x04, request, response, packet)
  def GameEnded(self, packet):
    request = Utils.LoadRequest(game_master.GameEndedNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/FriendsService.py   Diablo-III-Protocol-Simulator(Download)
  def SubscribeToFriends(self, packet):
    request = Utils.LoadRequest(friends.SubscribeToFriendsRequest(), packet)
    response = friends.SubscribeToFriendsResponse()
    return self.PerformRpc(0x01, request, response, packet)
 
  def SendInvitation(self, packet):
    request = Utils.LoadRequest(invitation.SendInvitationRequest(), packet)
    response = invitation.SendInvitationResponse()
    return self.PerformRpc(0x02, request, response, packet)
  def AcceptInvitation(self, packet):
    request = Utils.LoadRequest(invitation.GenericRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x03, request, response, packet)
 
  def RevokeInvitation(self, packet):
    request = Utils.LoadRequest(invitation.GenericRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x04, request, response, packet)
  def DeclineInvitation(self, packet):
    request = Utils.LoadRequest(invitation.GenericRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/GameUtilities.py   Diablo-III-Protocol-Simulator(Download)
  def ProcessClientRequest(self, packet):
    request = Utils.LoadRequest(game_utilities.ClientRequest(), packet)
    response = game_utilities.ClientResponse()
    return self.PerformRpc(0x01, request, response, packet)
 
  def CreateToon(self, packet):
    request = Utils.LoadRequest(game_utilities.CreateToonRequest(), packet)
    response = game_utilities.CreateToonResponse()
    return self.PerformRpc(0x02, request, response, packet)
  def DeleteToon(self, packet):
    request = Utils.LoadRequest(game_utilities.DeleteToonRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x03, request, response, packet)
 
  def TransferToon(self, packet):
    request = Utils.LoadRequest(game_utilities.TransferToonRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x04, request, response, packet)
  def SelectToon(self, packet):
    request = Utils.LoadRequest(game_utilities.SelectToonRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/ConnectionService.py   Diablo-III-Protocol-Simulator(Download)
  def Connect(self, packet):
    request = Utils.LoadRequest(connection.ConnectRequest(), packet)
    response = connection.ConnectResponse()
    return self.PerformRpc(0x01, request, response, packet)
 
  def Bind(self, packet):
    request = Utils.LoadRequest(connection.BindRequest(), packet)
    response = connection.BindResponse()
    return self.PerformRpc(0x02, request, response, packet)
  def Echo(self, packet):
    request = Utils.LoadRequest(connection.EchoRequest(), packet)
    response = connection.EchoResponse()
    return self.PerformRpc(0x03, request, response, packet)
 
  def ForceDisconnect(self, packet):
    request = Utils.LoadRequest(connection.DisconnectNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x04, request, response, packet)
  def Null(self, packet):
    request = Utils.LoadRequest(connection.NullRequest(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/ChannelSubscriber.py   Diablo-III-Protocol-Simulator(Download)
  def NotifyAdd(self, packet):
    request = Utils.LoadRequest(channel.AddNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x01, request, response, packet)
 
  def NotifyJoin(self, packet):
    request = Utils.LoadRequest(channel.JoinNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x02, request, response, packet)
  def NotifyRemove(self, packet):
    request = Utils.LoadRequest(channel.RemoveNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x03, request, response, packet)
 
  def NotifyLeave(self, packet):
    request = Utils.LoadRequest(channel.LeaveNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x04, request, response, packet)
  def NotifySendMessage(self, packet):
    request = Utils.LoadRequest(channel.SendMessageNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/ChannelInvitationService.py   Diablo-III-Protocol-Simulator(Download)
  def Subscribe(self, packet):
    request = Utils.LoadRequest(channel_invitation.SubscribeRequest(), packet)
    response = channel_invitation.SubscribeResponse()
    return self.PerformRpc(0x01, request, response, packet)
 
  def Unsubscribe(self, packet):
    request = Utils.LoadRequest(channel_invitation.UnsubscribeRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x02, request, response, packet)
  def SendInvitation(self, packet):
    request = Utils.LoadRequest(invitation.SendInvitationRequest(), packet)
    response = invitation.SendInvitationResponse()
    return self.PerformRpc(0x03, request, response, packet)
 
  def AcceptInvitation(self, packet):
    request = Utils.LoadRequest(channel_invitation.AcceptInvitationRequest(), packet)
    response = channel_invitation.AcceptInvitationResponse()
    return self.PerformRpc(0x04, request, response, packet)
  def DeclineInvitation(self, packet):
    request = Utils.LoadRequest(invitation.GenericRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/Channel.py   Diablo-III-Protocol-Simulator(Download)
  def AddMember(self, packet):
    request = Utils.LoadRequest(channel.AddMemberRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x01, request, response, packet)
 
  def RemoveMember(self, packet):
    request = Utils.LoadRequest(channel.RemoveMemberRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x02, request, response, packet)
  def SendMessage(self, packet):
    request = Utils.LoadRequest(channel.SendMessageRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x03, request, response, packet)
 
  def UpdateChannelState(self, packet):
    request = Utils.LoadRequest(channel.UpdateChannelStateRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x04, request, response, packet)
  def UpdateMemberState(self, packet):
    request = Utils.LoadRequest(channel.UpdateMemberStateRequest(), packet)
    response = rpc.NoData()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/UserManagerService.py   Diablo-III-Protocol-Simulator(Download)
  def SubscribeToUserManager(self, packet):
    request = Utils.LoadRequest(user_manager.SubscribeToUserManagerRequest(), packet)
    response = user_manager.SubscribeToUserManagerResponse()
    return self.PerformRpc(0x01, request, response, packet)
 
  def ReportPlayer(self, packet):
    request = Utils.LoadRequest(user_manager.ReportPlayerRequest(), packet)
    response = user_manager.ReportPlayerResponse()
    return self.PerformRpc(0x02, request, response, packet)
  def BlockPlayer(self, packet):
    request = Utils.LoadRequest(user_manager.BlockPlayerRequest(), packet)
    response = user_manager.BlockPlayerResponse()
    return self.PerformRpc(0x03, request, response, packet)
 
  def RemovePlayerBlock(self, packet):
    request = Utils.LoadRequest(user_manager.RemovePlayerBlockRequest(), packet)
    response = user_manager.RemovePlayerBlockResponse()
    return self.PerformRpc(0x04, request, response, packet)
  def AddRecentPlayers(self, packet):
    request = Utils.LoadRequest(user_manager.AddRecentPlayersRequest(), packet)
    response = user_manager.AddRecentPlayersResponse()
    return self.PerformRpc(0x05, request, response, packet)
 

src/d/i/Diablo-III-Protocol-Simulator-HEAD/libs/services/FriendsNotify.py   Diablo-III-Protocol-Simulator(Download)
  def NotifyFriendAdded(self, packet):
    request = Utils.LoadRequest(friends.FriendNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x01, request, response, packet)
 
  def NotifyFriendRemoved(self, packet):
    request = Utils.LoadRequest(friends.FriendNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x02, request, response, packet)
  def NotifyReceivedInvitationAdded(self, packet):
    request = Utils.LoadRequest(friends.InvitationAddedNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x03, request, response, packet)
 
  def NotifyReceivedInvitationRemoved(self, packet):
    request = Utils.LoadRequest(friends.InvitationRemovedNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x04, request, response, packet)
  def NotifySentInvitationRemoved(self, packet):
    request = Utils.LoadRequest(friends.InvitationRemovedNotification(), packet)
    response = rpc.NO_RESPONSE()
    return self.PerformRpc(0x05, request, response, packet)

  1 | 2 | 3  Next