Skip to content

Too many autoloads #141

@Ughuuu

Description

@Ughuuu

Can you limit the creation of autoload to just 1 or less? And have them named something that makes it obvious they are part of Netfox? Right now, Noray, PacketHandshake, NetworkTime, NetworkTimeSynchronizer, NetworkRollback, NetworkEvents, Interpolators. It's not immediately obvious why they are all needed and can't be nodes or static classes. I'll have to check. But even if they are all needed, you can make just 1 singleton that contains the other. Eg:
Netfox:

  • Noray
  • PacketHandshake
  • NetworkTime
    ..

So you would access them as: Netfox.Noray, Netfox.NetworkTime.. This way it won't pollute the global namespace as much with Classes that have very generic name(the name will start with Netfox, which is add-on name).

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