8000 Add Kotlin DSL support for delegations by DerEchtePilz · Pull Request #482 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content

Add Kotlin DSL support for delegations #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Sep 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Provide additional information about delegation usage
  • Loading branch information
DerEchtePilz committed Sep 21, 2023
commit 3bbc1c97e79aebf70b70b4880334ea53e7d021dd
6 changes: 6 additions & 0 deletions docssrc/src/kotlindsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ To be able to access arguments by using delegations, your variable name needs to

</div>

> **Developer's Note:**
>
> Because delegations target the way you can access arguments, you can also use delegations when using Kotlin, but not the Kotlin DSL to create your commands.
>
> Just keep in mind that you need to at least add `commandapi-core-kotlin` as a dependency.

-----

## More examples
Expand Down
0