Documentation ¶
Index ¶
- type Act
- type Background
- type Cloud
- type Effect
- type GameObj
- type NotiInvalid_data
- type NotiStageChat_data
- type NotiStageInfo_data
- type NotiStatsInfo_data
- type ReqAct_data
- type ReqChat_data
- type ReqHeartbeat_data
- type ReqInvalid_data
- type ReqLogin_data
- type RspAct_data
- type RspChat_data
- type RspHeartbeat_data
- type RspInvalid_data
- type RspLogin_data
- type Team
- type TeamStat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Background ¶
type Background struct { LastMoveTick int64 // time.unixnano PosVt vector2f.Vector2f VelVt vector2f.Vector2f }
func (*Background) Move ¶
func (o *Background) Move(now int64)
type Cloud ¶
type Effect ¶
type Effect struct { EffectType effecttype.EffectType BirthTick int64 LastMoveTick int64 // time.unixnano PosVt vector2f.Vector2f VelVt vector2f.Vector2f }
type GameObj ¶
type GameObj struct { GOType gameobjtype.GameObjType UUID string BirthTick int64 LastMoveTick int64 // time.unixnano PosVt vector2f.Vector2f VelVt vector2f.Vector2f Angle float64 // move circular AngleV float64 DstUUID string // move to dest }
func (*GameObj) CalcCircularPos ¶
func (*GameObj) MoveStraight ¶
type NotiInvalid_data ¶
type NotiInvalid_data struct {
Dummy uint8
}
type NotiStageChat_data ¶
type NotiStageInfo_data ¶
type NotiStageInfo_data struct { Tick int64 Background *Background Teams []*Team Effects []*Effect Clouds []*Cloud }
type NotiStatsInfo_data ¶
type ReqAct_data ¶
type ReqAct_data struct {
Dummy uint8
}
type ReqChat_data ¶
type ReqChat_data struct {
Chat string
}
type ReqHeartbeat_data ¶
type ReqHeartbeat_data struct {
Tick int64
}
type ReqInvalid_data ¶
type ReqInvalid_data struct {
Dummy uint8
}
type ReqLogin_data ¶
type RspAct_data ¶
type RspAct_data struct {
Dummy uint8
}
type RspChat_data ¶
type RspChat_data struct {
Dummy uint8
}
type RspHeartbeat_data ¶
type RspHeartbeat_data struct {
Tick int64
}
type RspInvalid_data ¶
type RspInvalid_data struct {
Dummy uint8
}
type RspLogin_data ¶
type TeamStat ¶
type TeamStat struct { UUID string Alive bool TeamType teamtype.TeamType ActStats acttype_vector.ActTypeVector }
Click to show internal directories.
Click to hide internal directories.