Documentation
¶
Index ¶
- type Party
- func (p *Party) AcceptInvite(userId int) bool
- func (p *Party) ChanceToBeTargetted(userId int) int
- func (p *Party) DeclineInvite(userId int) bool
- func (p *Party) Disband()
- func (p *Party) GetAutoAttackUserIds() []int
- func (p *Party) GetInvited() []int
- func (p *Party) GetMembers() []int
- func (p *Party) GetRank(userId int) string
- func (p *Party) InvitePlayer(userId int) bool
- func (p *Party) Invited(userId int) bool
- func (p *Party) IsLeader(userId int) bool
- func (p *Party) IsMember(userId int) bool
- func (p *Party) Leave(userId int) bool
- func (p *Party) New(userId int) *Party
- func (p *Party) SetAutoAttack(userId int, on bool) bool
- func (p *Party) SetRank(userId int, rank string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Party ¶
type Party struct {
LeaderUserId int
UserIds []int
InviteUserIds []int
AutoAttackers []int
Position map[int]string
}
func (*Party) AcceptInvite ¶
func (*Party) ChanceToBeTargetted ¶
func (*Party) DeclineInvite ¶
func (*Party) GetAutoAttackUserIds ¶
func (*Party) GetInvited ¶
func (*Party) GetMembers ¶
func (*Party) InvitePlayer ¶
Click to show internal directories.
Click to hide internal directories.