Guilds
3.5.6.9-SNAPSHOT
Guilds
/
me.glaremasters.guilds.database.challenges
/
ChallengeAdapter
Challenge
Adapter
open
class
ChallengeAdapter
(
source
)
Constructors
Functions
Constructors
Challenge
Adapter
Link copied to clipboard
open
fun
ChallengeAdapter
(
guilds
:
Guilds
,
adapter
:
DatabaseAdapter
)
Functions
challenge
Exists
Link copied to clipboard
open
fun
challengeExists
(
@
NotNull
id
:
@
NotNull
String
)
:
Boolean
create
Challenge
Link copied to clipboard
open
fun
createChallenge
(
@
NotNull
challenge
:
@
NotNull
GuildChallenge
)
create
Container
Link copied to clipboard
open
fun
createContainer
(
)
delete
Challenge
Link copied to clipboard
open
fun
deleteChallenge
(
@
NotNull
id
:
@
NotNull
String
)
get
All
Challenges
Link copied to clipboard
open
fun
getAllChallenges
(
)
:
Set
<
GuildChallenge
>
get
Challenge
Link copied to clipboard
open
fun
getChallenge
(
@
NotNull
id
:
@
NotNull
String
)
:
GuildChallenge
save
Challenge
Link copied to clipboard
open
fun
saveChallenge
(
@
NotNull
challenge
:
@
NotNull
GuildChallenge
)
save
Challenges
Link copied to clipboard
open
fun
saveChallenges
(
@
NotNull
challenges
:
@
NotNull
Set
<
GuildChallenge
>
)
update
Challenge
Link copied to clipboard
open
fun
updateChallenge
(
@
NotNull
challenge
:
@
NotNull
GuildChallenge
)