mirror of
https://github.com/solero/houdini.git
synced 2024-11-25 15:07:24 +00:00
Refactor penguin class __slots__
This commit is contained in:
parent
194327fb93
commit
a32f3df56e
@ -8,11 +8,29 @@ from houdini.handlers.play.pet import get_my_player_walking_puffle
|
|||||||
|
|
||||||
class Penguin(Spheniscidae, penguin.Penguin):
|
class Penguin(Spheniscidae, penguin.Penguin):
|
||||||
|
|
||||||
__slots__ = ['x', 'y', 'frame', 'toy', 'room', 'waddle', 'table',
|
__slots__ = (
|
||||||
'data', 'muted', 'login_key', 'is_member', 'membership_days_total',
|
'x', 'y',
|
||||||
'membership_days_remain', 'avatar', 'walking_puffle', 'permissions',
|
'frame',
|
||||||
'active_quests', 'legacy_buddy_requests', 'heartbeat', 'login_timestamp',
|
'toy',
|
||||||
'egg_timer_minutes']
|
'room',
|
||||||
|
'waddle',
|
||||||
|
'table',
|
||||||
|
'muted',
|
||||||
|
|
||||||
|
'login_key',
|
||||||
|
|
||||||
|
'is_member',
|
||||||
|
'membership_days_total',
|
||||||
|
'membership_days_remain',
|
||||||
|
|
||||||
|
'avatar',
|
||||||
|
'active_quests',
|
||||||
|
'legacy_buddy_requests',
|
||||||
|
|
||||||
|
'heartbeat',
|
||||||
|
'login_timestamp',
|
||||||
|
'egg_timer_minutes'
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
super().__init__(*args)
|
super().__init__(*args)
|
||||||
|
Loading…
Reference in New Issue
Block a user