public ClientPlayGameMessage(int version, int typecode, int gameindicator, int gametypecode, int gameplayrequest, long betamount)
      {
         /* make sure parameters are valid */
    	  this.iVersion = 0;
          if (version >= 0)
          {
         	 this.iVersion = version;
          }
          this.iTypeCode = 0;
          if (typecode > 0 && typecode < 4)
          {
         	 this.iTypeCode = typecode; 
          }
          this.iGameIndicator = 0;
          if (gameindicator > 0 && gameindicator < 4)
          {
         	 this.iGameIndicator = gameindicator;
          }
          this.iGameTypeCode = 0;
          if (gametypecode == 1)
          {
        	  this.iGameTypeCode = gametypecode;
          }
          this.iGamePlayRequest = 0;
          if (gameplayrequest > 0 && gameplayrequest < 7)
          {
        	  this.iGamePlayRequest = gameplayrequest;
          }
          this.lBetAmount = 0;
          if (betamount >= 0)
          {
        	  this.lBetAmount = betamount;
          }
      }