1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-11 23:58:08 -05:00

adding master api project

This commit is contained in:
RaidMax
2018-04-18 15:46:53 -05:00
parent 5dca4e7065
commit 2f336c1291
32 changed files with 769 additions and 4 deletions

View File

@ -0,0 +1,14 @@
class ServerModel(object):
def __init__(self, id, port, game, hostname, clientnum, maxclientnum, map, gametype):
self.id = id
self.port = port
self.game = game
self.hostname = hostname
self.clientnum = clientnum
self.maxclientnum = maxclientnum
self.map = map
self.gametype = gametype
def __repr__(self):
return '<ServerModel(id={id})>'.format(id=self.id)