Click here to Skip to main content
15,884,473 members
Articles / Desktop Programming / WPF

Game Attack Combos : WPF Hybrid Smart Client for Combo Calculations

Rate me:
Please Sign up or sign in to vote.
4.96/5 (35 votes)
23 May 2009CPOL37 min read 84.2K   3.2K   50  
A WPF hybrid smart client for calculating attack combos in the Prince of Persia game.
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3082
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace GG.GameAttackCombos.Client.ComboServices {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://gurugames.com/packages/", ConfigurationName="ComboServices.IComboPackagesService")]
    public interface IComboPackagesService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://gurugames.com/packages/IComboPackagesService/DownloadComboPackage", ReplyAction="http://gurugames.com/packages/IComboPackagesService/DownloadComboPackageResponse")]
        byte[] DownloadComboPackage(string gameCode, string clientPackageVersion);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public interface IComboPackagesServiceChannel : GG.GameAttackCombos.Client.ComboServices.IComboPackagesService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class ComboPackagesServiceClient : System.ServiceModel.ClientBase<GG.GameAttackCombos.Client.ComboServices.IComboPackagesService>, GG.GameAttackCombos.Client.ComboServices.IComboPackagesService {
        
        public ComboPackagesServiceClient() {
        }
        
        public ComboPackagesServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public ComboPackagesServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public ComboPackagesServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public ComboPackagesServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public byte[] DownloadComboPackage(string gameCode, string clientPackageVersion) {
            return base.Channel.DownloadComboPackage(gameCode, clientPackageVersion);
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
I began programming on my Commodore 64 at around the age of 12. After migrating to DOS and then Windows, I decided to take on the Web. Several languages and platforms later, I have settled in with .NET nicely. I am currently the owner of a software consulting company and lead application developer for a learning-based technology consultation company.

The love of a finished application is usually at war with the desire to improve it as soon as it's released (they're never really finished).

Comments and Discussions