Static Readonly ACCOUNT_Static Readonly MIN_Static chooseThe profile faction profile program.
The key to use to sign the transaction.
The faction to change to. Must not be unaligned.
Optional optionalProfilesOrRoles: OptionalProfileOrRoleInput[]Optional profiles or roles to authorize transaction.
the instruction(s) to choose the new faction and the profileFactionAccount account address
Static chooseA bare-bones implementation of chooseFaction
The profile faction profile program.
the key authorized to run this instruction.
The profile whose faction is being chosen.
The faction to change to. Must not be unaligned.
The Index of the key in the profile's permission list
Optional optionalProfilesOrRoles: OptionalProfileOrRoleInput[]Optional profiles or roles to authorize transaction.
the instruction(s) to choose the new faction and the profileFactionAccount account address
Static decodeStatic findGenerated using TypeDoc
Chose a faction for a player profile (Will only work if the profile is unaligned).