Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.events
/
PlayerReceiveExpEvent
Player
Receive
Exp
Event
class
PlayerReceiveExpEvent
(
val
player
:
MacrocosmPlayer
,
var
type
:
SkillType
,
var
amount
:
Float
)
:
Event
,
Cancellable
(
source
)
Members
Constructors
Player
Receive
Exp
Event
Link copied to clipboard
constructor
(
player
:
MacrocosmPlayer
,
type
:
SkillType
,
amount
:
Float
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
call
Event
Link copied to clipboard
open
fun
callEvent
(
)
:
Boolean
get
Event
Name
Link copied to clipboard
@
NotNull
open
fun
getEventName
(
)
:
@
NotNull
String
get
Handlers
Link copied to clipboard
open
override
fun
getHandlers
(
)
:
HandlerList
is
Asynchronous
Link copied to clipboard
fun
isAsynchronous
(
)
:
Boolean
is
Cancelled
Link copied to clipboard
open
override
fun
isCancelled
(
)
:
Boolean
set
Cancelled
Link copied to clipboard
open
override
fun
setCancelled
(
cancel
:
Boolean
)
Properties
amount
Link copied to clipboard
var
amount
:
Float
player
Link copied to clipboard
val
player
:
MacrocosmPlayer
type
Link copied to clipboard
var
type
:
SkillType