diff options
Diffstat (limited to 'src/net/playerhandler.h')
-rw-r--r-- | src/net/playerhandler.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h index d7676a92..23277062 100644 --- a/src/net/playerhandler.h +++ b/src/net/playerhandler.h @@ -62,7 +62,18 @@ class PlayerHandler virtual int getJobLocation() = 0; - virtual Vector getDefaultWalkSpeed() = 0; + /** + * Get the original default movement speed. + * Example: + * In ticks per tiles for eAthena + * In pixels per second for Manaserv + */ + virtual Vector getDefaultMoveSpeed() = 0; + + /** + * Convert the original speed in pixel per tick for internal use. + */ + virtual Vector getPixelsPerTickMoveSpeed(Vector speed, Map *map = 0) = 0; }; } // namespace Net |