41 lines
972 B
Python
41 lines
972 B
Python
"""Stub for Blender's internal _rna_info module."""
|
|
|
|
class InfoPropertyRNA:
|
|
identifier: str
|
|
type: str
|
|
fixed_type: InfoStructRNA | None
|
|
array_length: int
|
|
array_dimensions: tuple[int, ...]
|
|
is_readonly: bool
|
|
is_required: bool
|
|
is_argument_optional: bool
|
|
is_enum_flag: bool
|
|
description: str
|
|
default: str
|
|
default_str: str
|
|
enum_items: list[tuple[str, str, str]]
|
|
collection_type: InfoStructRNA | None
|
|
subtype: str
|
|
|
|
class InfoFunctionRNA:
|
|
identifier: str
|
|
description: str
|
|
is_classmethod: bool
|
|
args: list[InfoPropertyRNA]
|
|
return_values: tuple[InfoPropertyRNA, ...]
|
|
|
|
class InfoStructRNA:
|
|
identifier: str
|
|
name: str
|
|
description: str
|
|
base: InfoStructRNA | None
|
|
properties: list[InfoPropertyRNA]
|
|
functions: list[InfoFunctionRNA]
|
|
|
|
def BuildRNAInfo() -> tuple[
|
|
dict[str, InfoStructRNA],
|
|
dict[str, InfoFunctionRNA],
|
|
dict[str, object],
|
|
dict[str, InfoPropertyRNA],
|
|
]: ...
|