New source found from dndbeyond.com
This commit is contained in:
@@ -1,23 +1,4 @@
|
||||
import { getCharacters } from './accessors';
|
||||
import { PartyInventorySharingStateEnum } from './constants';
|
||||
/**
|
||||
*
|
||||
* @param sharingState
|
||||
* @returns {Boolean}
|
||||
* @description Returns true as long as the sharing state is not OFF. WARNING: DELETE_ONLY overlaps with the inactive sharing state
|
||||
*/
|
||||
export function isSharingStateActive(sharingState) {
|
||||
return sharingState !== PartyInventorySharingStateEnum.OFF;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @param sharingState
|
||||
* @returns {Boolean}
|
||||
* @description Returns true as long as the sharing state is not ON. WARNING: DELETE_ONLY overlaps with the active sharing state
|
||||
*/
|
||||
export function isSharingStateInactive(sharingState) {
|
||||
return sharingState !== PartyInventorySharingStateEnum.ON;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @param campaign
|
||||
|
||||
Reference in New Issue
Block a user