diff options
author | Dico <dico.karssiens@gmail.com> | 2018-09-24 04:40:32 +0100 |
---|---|---|
committer | Dico <dico.karssiens@gmail.com> | 2018-09-24 04:40:32 +0100 |
commit | 751cc30c6a6981942cc39583f9b51ba5072703ba (patch) | |
tree | fe3c696e7e502740c7bcb3dac1b5bae77f373c48 /src/main/kotlin/io/dico/parcels2/storage/Backing.kt | |
parent | 56f9b1dbff7fa4d4a00f38415e446795132d8ee0 (diff) |
Refactor final occurrences of status -> privilege
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/storage/Backing.kt')
-rw-r--r-- | src/main/kotlin/io/dico/parcels2/storage/Backing.kt | 8 |
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) } |