ImprovedFactions
Toggle table of contents
2.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
ImprovedFactions
ImprovedFactions
/
io.github.toberocat.improvedfactions.claims.clustering.detector
/
ClaimClusterDetector
Claim
Cluster
Detector
class
ClaimClusterDetector
(
queryProvider
:
ClaimQueryProvider
,
generateClusterId
:
(
)
->
UUID
=
UUID::randomUUID
)
Members
Constructors
Claim
Cluster
Detector
Link copied to clipboard
constructor
(
queryProvider
:
ClaimQueryProvider
,
generateClusterId
:
(
)
->
UUID
=
UUID::randomUUID
)
Properties
clusters
Link copied to clipboard
val
clusters
:
List
<
Cluster
>
Functions
delete
Cluster
Link copied to clipboard
fun
deleteCluster
(
clusterId
:
UUID
)
detect
Clusters
Link copied to clipboard
fun
detectClusters
(
)
get
Affected
Claims
Link copied to clipboard
fun
getAffectedClaims
(
)
:
Int
get
Cluster
Link copied to clipboard
fun
getCluster
(
claim
:
FactionClaim
)
:
Cluster
?
get
Cluster
Id
Link copied to clipboard
fun
getClusterId
(
claim
:
FactionClaim
)
:
UUID
?
insert
Faction
Position
Link copied to clipboard
fun
insertFactionPosition
(
claim
:
FactionClaim
,
factionId
:
Int
)
insert
Zone
Position
Link copied to clipboard
fun
insertZonePosition
(
claim
:
FactionClaim
,
zoneType
:
String
)
mark
Faction
Cluster
For
Update
Link copied to clipboard
fun
markFactionClusterForUpdate
(
faction
:
Faction
)
remove
Faction
Clusters
Link copied to clipboard
fun
removeFactionClusters
(
faction
:
Faction
)
remove
Position
Link copied to clipboard
fun
removePosition
(
claim
:
FactionClaim
)