Skip to content

Packet type is missing .getListeners() #29

@dev-alastair

Description

@dev-alastair

I think types.luau is missing the definition of the Packet.getListeners() function

This line should be added to types.luau:

type Packet<T> = {
    ...
    getListeners: () -> {(data: T, player: Player?) -> ()},
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions