Documentation
¶
Index ¶
- Constants
- type JoinRoom
- type Login
- type RPCBattle
- type ReconnectTUI
- type Skill
- func (s *Skill) IsLevelType() bool
- func (s *Skill) IsSkillLevelValid() bool
- func (s *Skill) IsSkillTargetValid() bool
- func (s *Skill) IsSkillTypValid() bool
- func (s *Skill) Refresh()
- func (s *Skill) RefreshLevel()
- func (s *Skill) RefreshSkillTargets()
- func (s *Skill) RefreshType()
- func (s *Skill) Result() uint8
- func (s *Skill) SetHero(hero *player.Hero)
- func (s *Skill) Show()
- func (s *Skill) ShowAttackTarget()
- func (s *Skill) ShowLevel()
- type TUI
Constants ¶
View Source
const ( ROOKIE = iota + 1 CHAMPION ULTIMATE MEGA )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JoinRoom ¶
func NewJoinRoom ¶
func NewJoinRoom() *JoinRoom
type RPCBattle ¶
type RPCBattle struct {
Rock int32
Paper int32
Scissors int32
Identity int32
OtherSideID uint64
// contains filtered or unexported fields
}
func NewRPCBattle ¶
type ReconnectTUI ¶
func NewReconnect ¶
func NewReconnect() *ReconnectTUI
func (*ReconnectTUI) Refresh ¶
func (l *ReconnectTUI) Refresh()
func (*ReconnectTUI) Result ¶
func (l *ReconnectTUI) Result() uint8
func (*ReconnectTUI) Show ¶
func (l *ReconnectTUI) Show()
type Skill ¶
type Skill struct {
H *player.Hero
RoomIDList []uint64
SkillType uint8
SkillLevel uint8
SkillTargets []uint64
POWERUP uint8
DEFENCE uint8
ESCAPE uint8
QUIT uint8
ATTACK uint8
EVOLVE uint8
// contains filtered or unexported fields
}
func (*Skill) IsLevelType ¶
func (*Skill) IsSkillLevelValid ¶
func (*Skill) IsSkillTargetValid ¶
func (*Skill) IsSkillTypValid ¶
func (*Skill) RefreshLevel ¶
func (s *Skill) RefreshLevel()
func (*Skill) RefreshSkillTargets ¶
func (s *Skill) RefreshSkillTargets()
func (*Skill) RefreshType ¶
func (s *Skill) RefreshType()
func (*Skill) ShowAttackTarget ¶
func (s *Skill) ShowAttackTarget()
Click to show internal directories.
Click to hide internal directories.