summaryrefslogtreecommitdiff
path: root/src/main/kotlin/io/dico/parcels2/storage/Backing.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/storage/Backing.kt')
-rw-r--r--src/main/kotlin/io/dico/parcels2/storage/Backing.kt8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/kotlin/io/dico/parcels2/storage/Backing.kt b/src/main/kotlin/io/dico/parcels2/storage/Backing.kt
index 69c5b62..6f71471 100644
--- a/src/main/kotlin/io/dico/parcels2/storage/Backing.kt
+++ b/src/main/kotlin/io/dico/parcels2/storage/Backing.kt
@@ -56,18 +56,14 @@ interface Backing {
fun setParcelOwnerSignOutdated(parcel: ParcelId, outdated: Boolean)
- fun setLocalPrivilege(parcel: ParcelId, player: PlayerProfile, status: Privilege)
+ fun setLocalPrivilege(parcel: ParcelId, player: PlayerProfile, privilege: Privilege)
fun setParcelOptionsInteractConfig(parcel: ParcelId, config: InteractableConfiguration)
-/*
- fun setParcelAllowsInteractInventory(parcel: ParcelId, value: Boolean)
- fun setParcelAllowsInteractInputs(parcel: ParcelId, value: Boolean)
-*/
fun transmitAllGlobalAddedData(channel: SendChannel<AddedDataPair<PlayerProfile>>)
fun readGlobalPrivileges(owner: PlayerProfile): MutablePrivilegeMap
- fun setGlobalPrivilege(owner: PlayerProfile, player: PlayerProfile, status: Privilege)
+ fun setGlobalPrivilege(owner: PlayerProfile, player: PlayerProfile, privilege: Privilege)
}