Documentation ¶
Index ¶
- type Data
- func (pool *Data) AddPlayer(plr controller)
- func (pool *Data) KillMobs(deathType byte)
- func (pool *Data) MobAcknowledge(poolID int32, plr controller, moveID int16, skillPossible bool, action byte, ...)
- func (pool *Data) MobDamaged(poolID int32, damager player, prty party, dmg ...int32)
- func (pool *Data) NpcAcknowledge(poolID int32, plr controller, data []byte)
- func (pool *Data) RemovePlayer(plr controller)
- func (pool *Data) SpawnMobFromID(mobID int32, location pos.Data, hasAgro, items, mesos bool) error
- func (pool *Data) Update(t time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data structure for pool
func CreatNewPool ¶
CreatNewPool for life
func (*Data) AddPlayer ¶
func (pool *Data) AddPlayer(plr controller)
AddPlayer to be added to the pool
func (*Data) MobAcknowledge ¶
func (pool *Data) MobAcknowledge(poolID int32, plr controller, moveID int16, skillPossible bool, action byte, skillData uint32, moveData movement.Data, finalData movement.Frag, moveBytes []byte)
MobAcknowledge bytes to be applied to the pool
func (*Data) MobDamaged ¶
MobDamaged handling
func (*Data) NpcAcknowledge ¶
NpcAcknowledge bytes to be applied to the pool
func (*Data) SpawnMobFromID ¶
SpawnMobFromID into the pool
Click to show internal directories.
Click to hide internal directories.