public override GameClient CreateClient(NetworkCore.Socket s) { HClient client = new HClient(s); // Register Happiness specific handlers client.OnGameDataRequest += Client_OnGameDataRequest; client.OnPuzzleComplete += Client_OnPuzzleComplete; client.OnSpendCoins += Client_OnSpendCoins; client.OnTowerDataRequest += Client_OnTowerDataRequest; client.OnTutorialData += Client_OnTutorialData; client.OnValidateGameInfo += Client_OnValidateGameInfo; client.OnCoinBalanceRequest += Client_OnCoinBalanceRequest; client.OnProductsRequest += Client_OnProductsRequest; client.OnBuildVipDataArgs = BuildVipDataArgs; return(client); }
public abstract GameClient CreateClient(NetworkCore.Socket s);