package com.genlot.nativesdk.model;

import java.util.Arrays;

public class GameBaseAttr {
    public String mGameName = "";//游戏名称
    public int mGameID = 0;//游戏ID
    public int mIsInstant = 0;//是否短周期游戏
    public int mDrawCount = 0;//开奖号码个数
    public int mMaxMultiIssue = 0;//允许投注的最大多期数
    public int mMaxTimes = 0;//允许投注的最大倍数
    public int mBitOfNumber = 0;//投注号码位数
    public int mNumOfBet = 0;//单注号码个数
    public int mMaxBets = 0;//单票最大注数
    public double mMoneyOfBet = 0.00f;//单注投注金额
    public int mZone = 0;//游戏号码区数
    public int[] mNumOfZone;//每个号码区的投注号码个数
    public int[] mMaxNumberOfZone;//每个号码区的最大号码
    public int[] mMinNumberOfZone;//每个号码区的最小号码

    public GameBaseAttr() {
        mNumOfZone = new int[4];
        mMaxNumberOfZone = new int[4];
        mMinNumberOfZone = new int[4];
        clearAttr();
    }

    public void clearAttr() {
        mGameName = "";
        mGameID = 0;
        mIsInstant = 0;
        mDrawCount = 0;
        mMaxMultiIssue = 0;
        mMaxTimes = 0;
        mBitOfNumber = 0;
        mNumOfBet = 0;
        mMaxBets = 0;
        mMoneyOfBet = 0.00f;
        mZone = 0;
        Arrays.fill(mNumOfZone, 0);
        Arrays.fill(mMaxNumberOfZone, 0);
        Arrays.fill(mMinNumberOfZone, 0);
    }
}
