rewrite EnumerateGuildMember

This commit is contained in:
wish
2023-04-23 21:48:13 +10:00
parent e61d6a60f3
commit 6fecfdd63f
2 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ type GuildMember struct {
RPYesterday uint16 `db:"rp_yesterday"`
Name string `db:"name"`
IsApplicant bool `db:"is_applicant"`
OrderIndex uint8 `db:"order_index"`
OrderIndex uint16 `db:"order_index"`
LastLogin uint32 `db:"last_login"`
Recruiter bool `db:"recruiter"`
AvoidLeadership bool `db:"avoid_leadership"`
@@ -25,7 +25,7 @@ type GuildMember struct {
HRP uint16 `db:"hrp"`
GR uint16 `db:"gr"`
WeaponID uint16 `db:"weapon_id"`
WeaponType uint16 `db:"weapon_type"`
WeaponType uint8 `db:"weapon_type"`
}
func (gm *GuildMember) CanRecruit() bool {