diff --git a/proxyclient/m1n1/constructutils.py b/proxyclient/m1n1/constructutils.py index 999ba478..6951ee46 100644 --- a/proxyclient/m1n1/constructutils.py +++ b/proxyclient/m1n1/constructutils.py @@ -598,6 +598,10 @@ class ConstructClass(ConstructClassBase, Container): def addrof(self, name): return self._addr + self._off[name][0] + @classmethod + def offsetof(cls, name): + return cls._off[name][0] + def clone(self): obj = type(self)() obj.update(self)