Skip to content

Dynamically register new protos #289

Open
@burner1024

Description

@burner1024

Would it be possible to add a function similar to add_extra_msg_file, but for protos? So that new protos could be shipped without .lst files, thus achieving better compatibility. Also could be useful to get their descriptions from a new msg.
Maybe something like

int register_proto(name, type, msg_id - default by type)

new_msg = add_extra_msg_file("my.msg");
proto_id = register_proto("proname", type_misc, new_msg);

(or new_msg could be a string virtually appended to pro_misc.msg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions