ecs/servers/game/data_old/language.go
2025-06-04 18:17:39 +08:00

19 lines
538 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package data
type Language struct {
Id int `json:"id"` //内容索引(ID)
Lang1 string `json:"lang1"` //文字內容組1暫定簡中
Lang2 string `json:"lang2"` //文字內容組2暫定繁体
Lang3 string `json:"lang3"` //文字內容組3暫定英文
Lang4 string `json:"lang4"` //文字内容组4暂定日文
Lang5 string `json:"lang5"` //文字内容组5暂定韩文
}
func (data *Language) id() int {
return data.Id
}
type LanguageTable struct {
table[int, *Language]
}