org.kubinity.soap.client.command.AccountCommand.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soap-client Show documentation
Show all versions of soap-client Show documentation
Kubinity SOAP Client to communicate with TrinityCore SOAP Server
The newest version!
package org.kubinity.soap.client.command
class AccountCommand {
companion object {
fun create(username: String, password: String): Command {
return Command("create $username $password")
}
fun delete(username: String): Command {
return Command("delete $username")
}
fun lock(username: String): Command {
return Command("lock $username")
}
fun changePassword(username: String, password: String): Command {
return Command("set password $username $password $password")
}
fun gmLevel(username: String, gmLevel: Number, realmId: Number = -1): Command {
return Command("set gmlevel $username $gmLevel $realmId")
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy