summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0196/stanza.py
blob: d676a9ad5abef7c488e3860141b04c5e42ade367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Slixmpp: The Slick XMPP Library
# Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout
# This file is part of Slixmpp.
# See the file LICENSE for copying permission.

from slixmpp.xmlstream import ElementBase, ET


class UserGaming(ElementBase):

    name = 'game'
    namespace = 'urn:xmpp:gaming:0'
    plugin_attrib = 'gaming'
    interfaces = {'character_name', 'character_profile', 'name',
                  'level', 'server_address', 'server_name', 'uri'}
    sub_interfaces = interfaces