mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 00:38:46 +00:00
Repackage player actions plugin
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package org.apollo.game.plugin.entity.player_action
|
package org.apollo.game.plugin.entity.actions
|
||||||
|
|
||||||
import org.apollo.game.message.impl.SetPlayerActionMessage
|
import org.apollo.game.message.impl.SetPlayerActionMessage
|
||||||
import org.apollo.game.model.entity.Player
|
import org.apollo.game.model.entity.Player
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package org.apollo.game.plugin.entity.player_action
|
package org.apollo.game.plugin.entity.actions
|
||||||
|
|
||||||
enum class PlayerActionType(val displayName: String, val slot: Int, val primary: Boolean = true) {
|
enum class PlayerActionType(val displayName: String, val slot: Int, val primary: Boolean = true) {
|
||||||
ATTACK("Attack", 2),
|
ATTACK("Attack", 2),
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package org.apollo.game.plugin.entity.player_action
|
package org.apollo.game.plugin.entity.actions
|
||||||
|
|
||||||
import org.apollo.game.message.impl.PlayerActionMessage
|
import org.apollo.game.message.impl.PlayerActionMessage
|
||||||
import org.apollo.game.model.event.impl.LoginEvent
|
import org.apollo.game.model.event.impl.LoginEvent
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package org.apollo.game.plugin.entity.player_action
|
package org.apollo.game.plugin.entity.actions
|
||||||
|
|
||||||
import io.mockk.verify
|
import io.mockk.verify
|
||||||
import org.apollo.game.message.impl.SetPlayerActionMessage
|
import org.apollo.game.message.impl.SetPlayerActionMessage
|
||||||
@@ -1,13 +1,11 @@
|
|||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':game')
|
implementation project(':game')
|
||||||
implementation project(':cache')
|
implementation project(':cache')
|
||||||
implementation project(':net')
|
implementation project(':net')
|
||||||
implementation project(':util')
|
implementation project(':util')
|
||||||
implementation project(':game:plugin:entity:walk-to')
|
implementation project(':game:plugin:entity:walk-to')
|
||||||
implementation project(':game:plugin:entity:player-action')
|
implementation project(':game:plugin:entity:actions')
|
||||||
testImplementation project(':game:plugin-testing')
|
testImplementation project(':game:plugin-testing')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import org.apollo.game.plugin.entity.player_action.PlayerActionEvent
|
import org.apollo.game.plugin.entity.actions.PlayerActionEvent
|
||||||
import org.apollo.game.plugin.entity.player_action.PlayerActionType
|
import org.apollo.game.plugin.entity.actions.PlayerActionType
|
||||||
import org.apollo.plugin.entity.following.FollowAction
|
import org.apollo.plugin.entity.following.FollowAction
|
||||||
|
|
||||||
on_player_event { PlayerActionEvent::class }
|
on_player_event { PlayerActionEvent::class }
|
||||||
|
|||||||
Reference in New Issue
Block a user