-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathclasses.py
29 lines (27 loc) · 1.02 KB
/
classes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class Client:
def __init__(self, id=0, name=None, map=None, channel=4, skills=None, status='kicked', pos=None, navigation=None, same_hp_count=0, prev_hp=101, not_found=0, hp_history=[], ring=None, horse_slash=None, count_stuck=0):
self.id = id
self.name = name
self.map = map
self.channel = channel
self.skills = skills
self.status = status
self.pos = pos
self.navigation = navigation
self.same_hp_count = same_hp_count
self.prev_hp = prev_hp
self.not_found = not_found
self.hp_history = hp_history
self.ring = ring
self.horse_slash = horse_slash
self.count_stuck = count_stuck
class Map:
def __init__(self, name, dir, navigation, object_detection):
self.name = name
self.dir = dir
self.navigation = navigation
self.object_detection = object_detection
class Relatives:
def __init__(self, name, value):
self.name = name
self.value = value