Skip to content

Expose Linq methods for network list #2756

@LightPat

Description

@LightPat

Is your feature request related to a problem? Please describe.
Sometimes when using a network list to store data about players, my search methods will be very slow because linq methods are not exposed on network list objects.

Describe the solution you'd like
I'd like to be able to use the network list with all the functionality of a normal list. We could do this by enabling a Copy() method in the network list object (copy to a list object), or by exposing methods like the system.linq methods (you can already use contains()).

Describe alternatives you've considered
The alternative I'm using right now is using a foreach loop to dump the contents of my network list into a list object, but that can be a problem if I edit the network list from another method which interrupts the enumeration operation.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature, request or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions