import { MainCmd } from "../../../../script/common/protocol/CmdNetID" ; import { serialize , JsonMessage } from "../../../../script/framework/net/JsonMessage" ; description export let SUB_CMD_GAME = { description CMD_GAME_CONFIG : 100 , } ; description export class TankBattleConfig extends JsonMessage { mainCmd = MainCmd . CMD_GAME ; subCmd = SUB_CMD_GAME . CMD_GAME_CONFIG ; description @ serialize ( "level" , Number ) level : number = 1 ; }