initial commit backend

This commit is contained in:
daniel
2019-06-17 18:17:59 +02:00
commit ccc9c44ebd
13 changed files with 468 additions and 0 deletions

14
events.py Normal file
View File

@@ -0,0 +1,14 @@
from enum import Enum
class Events(Enum):
PUBLIC_CHAT = 'public message'
PRIVATE_CHAT = 'private message'
SYSTEM_MESSAGE = 'system message'
DICE_ROLL = 'dice roll'
NEW_CHARACTER = 'new character'
REMOVE_ACTOR = 'remove actor'
ACTOR_ADDED = 'actor added'
USER_EDITED = 'user edited'
USER_ADDED = 'user added'
USER_REMOVED = 'user removed'