Skip to content

Add an excerpt about entity flags into the book. #21

Description

@Exiled1

Currently we have a pattern that goes something like

#[derive(Component, ...)]
struct PlayerFlag;

that gets used by the plugin to retrieve an entityID for an item that they've added components to. We use this pattern instead of attaching state to the ClientState, I think it would be good to explain that that pattern exists so that developers can choose whether or not their plugin entry structs hold state or not.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions