summaryrefslogtreecommitdiff
path: root/src/ints/wrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ints/wrap.py')
-rw-r--r--src/ints/wrap.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ints/wrap.py b/src/ints/wrap.py
new file mode 100644
index 0000000..c8a8c6d
--- /dev/null
+++ b/src/ints/wrap.py
@@ -0,0 +1,13 @@
+class Wrapped(object):
+ __slots__ = ('_value')
+ name = 'tmwa::ints::wrapped::Wrapped'
+ enabled = True
+
+ def __init__(self, value):
+ self._value = value
+
+ def to_string(self):
+ return self._value['_value']
+
+ # tests are in src/mmo/ids.py instead
+ tests = []