Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
func Compare(i, j do.OnlineUser) bool
排序规则: 贵族类型(10000权重) + 守护类型(1000权重) + 经验值 的结果从高到低进行排序
func SortRank ¶
func SortRank(rank []do.OnlineUser, count int) []do.OnlineUser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.