added net_components

This commit is contained in:
Swann 2019-01-25 10:11:40 +01:00
parent d108b72170
commit ef120e8d3c
No known key found for this signature in database
GPG Key ID: B02D0B41F8B6D2EE

24
net_components.py Normal file
View File

@ -0,0 +1,24 @@
class User:
def __init__(self, name="default", ip="localhost"):
self.name = name
self.ip = ip
class Session:
def __init__(self, name="default", host="localhost"):
self.name = name
self.host = host
class Position:
def __init__(self, x=0, y=0,z=0):
self.x = x
self.y = y
self.z = z
class Property:
def __init__(self, property=None):
self.property = property
class Function:
def __init__(self, function=None):
self.function = function