grade.go 1 KB
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
package groupPower_e

import "git.hilo.cn/hilo-common/resource/mysql"

type GroupPowerGrade int

const (
	GroupPowerGrade0 GroupPowerGrade = 0 // 青铜
	GroupPowerGrade1 GroupPowerGrade = 1 // 白银
	GroupPowerGrade2 GroupPowerGrade = 2 // 黄金
	GroupPowerGrade3 GroupPowerGrade = 3 // 黑金

	GroupPowerGradeMax = GroupPowerGrade3
)

var (
	GroupPowerGradeExp = map[GroupPowerGrade]mysql.Num{
		GroupPowerGrade0: 0,
		GroupPowerGrade1: 2500000,
		GroupPowerGrade2: 15000000,
		GroupPowerGrade3: 60000000,
	}
)

type GroupPowerPrivilege int

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