This commit is contained in:
nuknal
2024-09-10 15:17:59 +08:00
parent 2fcbc389c6
commit e44bd318ae
5 changed files with 6 additions and 3 deletions

View File

@@ -57,6 +57,7 @@ type RPCConfig struct {
GridSize int `yaml:"grid_size" mapstructure:"grid_size"`
AltitudeRange int `yaml:"altitude_range" mapstructure:"altitude_range"`
AltitudeLayer int `yaml:"altitude_layer" mapstructure:"altitude_layer"`
Method int `yaml:"method" mapstructure:"method"`
}
var GCONFIG Config
@@ -105,6 +106,7 @@ func init() {
GridSize: 3,
AltitudeRange: 1000,
AltitudeLayer: 5,
Method: 2,
},
}
}