grade.go 1 KB
Newer Older
hujiebin's avatar
hujiebin committed
1 2
package groupPower_e

hujiebin's avatar
hujiebin committed
3 4
import "git.hilo.cn/hilo-common/resource/mysql"

hujiebin's avatar
hujiebin committed
5 6 7
type GroupPowerGrade int

const (
hujiebin's avatar
hujiebin committed
8 9 10 11
	GroupPowerGrade0 GroupPowerGrade = 0 // 青铜
	GroupPowerGrade1 GroupPowerGrade = 1 // 白银
	GroupPowerGrade2 GroupPowerGrade = 2 // 黄金
	GroupPowerGrade3 GroupPowerGrade = 3 // 黑金
hujiebin's avatar
hujiebin committed
12

hujiebin's avatar
hujiebin committed
13
	GroupPowerGradeMax = GroupPowerGrade3
hujiebin's avatar
hujiebin committed
14 15 16
)

var (
hujiebin's avatar
hujiebin committed
17
	GroupPowerGradeExp = map[GroupPowerGrade]mysql.Num{
hujiebin's avatar
hujiebin committed
18
		GroupPowerGrade0: 0,
hujiebin's avatar
hujiebin committed
19 20
		GroupPowerGrade1: 2500000,
		GroupPowerGrade2: 15000000,
hujiebin's avatar
hujiebin committed
21
		GroupPowerGrade3: 60000000,
hujiebin's avatar
hujiebin committed
22 23
	}
)
hujiebin's avatar
hujiebin committed
24 25 26 27 28 29 30 31 32 33 34

type GroupPowerPrivilege int

const (
	GroupPowerPrivilegeMemberNum         GroupPowerPrivilege = 1 // 成员数
	GroupPowerPrivilegeMgrNum            GroupPowerPrivilege = 2 // 管理员数
	GroupPowerPrivilegeNameplate         GroupPowerPrivilege = 3 // 家族铭牌
	GroupPowerPrivilegeMedal             GroupPowerPrivilege = 4 // 家族徽章装饰
	GroupPowerPrivilegeNameplateEdit     GroupPowerPrivilege = 5 // 编辑铭牌
	GroupPowerPrivilegeNameplateHeadwear GroupPowerPrivilege = 6 // 家族头饰
)