Skip to content

from message to player #8

Description

@nonchris

Now that chat messages know who sent them, I'd like to have a method to get a player by their name, otherwise the player name is relatively useless.

Alternatively the message could also know the id of the player, so that we can have the old route.

The last option would be that the user themselves has to create a mapping playername -> index, but this would be a pretty advanced thing to require for an educational library.

f3f6c83

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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