Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Identifiables #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Identifiables #211

wants to merge 1 commit into from

Conversation

jedediah
Copy link
Member

@jedediah jedediah commented Oct 6, 2016

  • Extract common interface Identifiable for things identified by a UUID, i.e. Entitys and OfflinePlayers.
  • Add ConnectedPlayer interface between OfflinePlayer and Player in the inheritance hiearchy, which adds a field for IP address. Use this to carry info in pre-login events.
  • Add Event#getInvolved() that returns a list of all Identifiables involved in the event.

This seems like a better approach than EntityAction and PlayerAction, and we may remove that patch if this one serves our needs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant