decode.go 159 Bytes
package confdemo

// Decode 解析配置原始数据
func (c *DemoConfig) Decode(gameId string, rawData any) {
	raw := rawData.(*DemoConfigRaw)
	c.Raw = raw
}