MCPcopy Create free account
hub / github.com/K0lb3/UnityPy / unitypy_define

Function unitypy_define

UnityPy/classes/generated.py:26–44  ·  view source on GitHub ↗

A hacky solution to bypass multiple problems related to attrs and inheritance. The class inheritance is very lax and based on the typetrees. Some of the child classes might not have the same attributes as the parent class, which would make type-hinting more tricky, and breaks attrs

(cls: T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected