New source found from dndbeyond.com
This commit is contained in:
@@ -13,8 +13,6 @@ import {
|
||||
CharacterLoadRequestAction,
|
||||
ConfirmClassSetAction,
|
||||
ConfirmSpeciesSetAction,
|
||||
QuickBuildRequestAction,
|
||||
RandomBuildRequestAction,
|
||||
ShowHelpTextSetAction,
|
||||
StepBuildRequestAction,
|
||||
SuggestedNamesRequestAction,
|
||||
@@ -28,46 +26,6 @@ export function characterLoadRequest(): CharacterLoadRequestAction {
|
||||
};
|
||||
}
|
||||
|
||||
export function quickBuildRequest(
|
||||
entitySpeciesId: number | null,
|
||||
entitySpeciesTypeId: number | null,
|
||||
classId: number | null,
|
||||
name: string | null
|
||||
): QuickBuildRequestAction {
|
||||
return {
|
||||
type: builderActionTypes.QUICK_BUILD_REQUEST,
|
||||
payload: {
|
||||
entityRaceId: entitySpeciesId,
|
||||
entityRaceTypeId: entitySpeciesTypeId,
|
||||
classId,
|
||||
name,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export function randomBuildRequest(
|
||||
level: number | null,
|
||||
entitySpeciesId: number | null,
|
||||
entitySpeciesTypeId: number | null,
|
||||
classId: number | null,
|
||||
allowMulticlass: boolean,
|
||||
allowFeats: boolean,
|
||||
name: string | null
|
||||
): RandomBuildRequestAction {
|
||||
return {
|
||||
type: builderActionTypes.RANDOM_BUILD_REQUEST,
|
||||
payload: {
|
||||
level,
|
||||
entityRaceId: entitySpeciesId,
|
||||
entityRaceTypeId: entitySpeciesTypeId,
|
||||
classId,
|
||||
allowMulticlass,
|
||||
allowFeats,
|
||||
name,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export function stepBuildRequest(
|
||||
showHelpText: boolean
|
||||
): StepBuildRequestAction {
|
||||
@@ -110,7 +68,9 @@ export function showHelpTextSet(showHelpText: boolean): ShowHelpTextSetAction {
|
||||
};
|
||||
}
|
||||
|
||||
export function builderMethodSet(method: string): BuilderMethodSetAction {
|
||||
export function builderMethodSet(
|
||||
method: string | null
|
||||
): BuilderMethodSetAction {
|
||||
return {
|
||||
type: builderActionTypes.BUILDER_METHOD_SET,
|
||||
payload: {
|
||||
|
||||
Reference in New Issue
Block a user