From 33884925f47222f13c9f803bff0d59240efc3fd3 Mon Sep 17 00:00:00 2001 From: Salad Dais Date: Sat, 6 Jan 2024 20:39:29 +0000 Subject: [PATCH] enum.IntFlag -> IntFlag --- hippolyzer/lib/base/templates.py | 6 +++--- hippolyzer/lib/client/material_manager.py | 0 tests/client/test_material_manager.py | 0 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 hippolyzer/lib/client/material_manager.py create mode 100644 tests/client/test_material_manager.py diff --git a/hippolyzer/lib/base/templates.py b/hippolyzer/lib/base/templates.py index 395c535..75d8141 100644 --- a/hippolyzer/lib/base/templates.py +++ b/hippolyzer/lib/base/templates.py @@ -2237,7 +2237,7 @@ class DateSerializer(se.AdapterSubfieldSerializer): ORIG_INLINE = True -class ParcelGridType(enum.IntEnum): +class ParcelGridType(IntEnum): PUBLIC = 0x00 OWNED = 0x01 # Presumably non-linden owned land GROUP = 0x02 @@ -2246,7 +2246,7 @@ class ParcelGridType(enum.IntEnum): AUCTION = 0x05 -class ParcelGridFlags(enum.IntFlag): +class ParcelGridFlags(IntFlag): UNUSED = 0x8 HIDDEN_AVS = 0x10 SOUND_LOCAL = 0x20 @@ -2337,7 +2337,7 @@ class RetrieveNavMeshSrcSerializer(se.BaseHTTPSerializer): # Beta puppetry stuff, subject to change! -class PuppetryEventMask(enum.IntFlag): +class PuppetryEventMask(IntFlag): POSITION = 1 << 0 POSITION_IN_PARENT_FRAME = 1 << 1 ROTATION = 1 << 2 diff --git a/hippolyzer/lib/client/material_manager.py b/hippolyzer/lib/client/material_manager.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/client/test_material_manager.py b/tests/client/test_material_manager.py new file mode 100644 index 0000000..e69de29