Builder for partially modifying fields on a vanilla profile by its numeric ID. More...
#include <ProfileEditBuilder.h>
Inherits red::ProfileBuilder< ProfileEditBuilder< ID > >.
Public Member Functions | |
| ProfileEditBuilder () | |
| Profile * | build () |
| Completes the builder by applying the changes to the vanilla profile. | |
| Public Member Functions inherited from red::ProfileBuilder< ProfileEditBuilder< ID > > | |
| ProfileEditBuilder< ID > & | createInfo (const ActorCreateInfo &createInfo) |
Set the ActorCreateInfo field in the profile. | |
| ProfileEditBuilder< ID > & | flag (const Profile::Flag flag) |
Set the Flag field in the profile. | |
| ProfileEditBuilder< ID > & | drawPriority (const s16 drawPriority) |
Set the drawPriority field in the profile. | |
| ProfileEditBuilder< ID > & | executePriority (const s16 executePriority) |
Set the executePriority field in the profile. | |
| ProfileEditBuilder< ID > & | resources (ProfileInfo::ResType type) |
Set the resources field in the profile. | |
Additional Inherited Members | |
| Protected Attributes inherited from red::ProfileBuilder< ProfileEditBuilder< ID > > | |
| const ActorCreateInfo * | mCreateInfo |
The createInfo data for the profile we are building. | |
| Profile::Flag | mFlag |
The flag data for the profile we are building. | |
| s16 | mDrawPriority |
The drawPriority data for the profile we are building. | |
| s16 | mExecutePriority |
The createInfo data for the profile we are building. This is a custom field added by RedCore. | |
| u8 | mResourceCount |
The entry for ProfileInfo::cResNum for the profile we are building. This is stored separately for custom profiles. | |
| sead::SafeString * | mResources |
The entry for ProfileInfo::cResList for the profile we are building. This is stored separately for custom profiles. | |
| ProfileInfo::ResType | mResourceType |
The entry for ProfileInfo::cResType for the profile we are building. This is stored separately for custom profiles. | |
| bool | mCreateInfoModified |
Whether mCreateInfo was modified. Used for validation and partial application in red::ProfileEditBuilder. | |
| bool | mFlagModified |
Whether mFlag was modified. Used for validation and partial application in red::ProfileEditBuilder. | |
| bool | mDrawPriorityModified |
Whether mDrawPriority was modified. Used for validation and partial application in red::ProfileEditBuilder. | |
| bool | mExecutePriorityModified |
Whether mExecutePriority was modified. Used for validation and partial application in red::ProfileEditBuilder. | |
| bool | mResourcesModified |
Whether mResources was modified. Used for validation and partial application in red::ProfileEditBuilder. | |
Builder for partially modifying fields on a vanilla profile by its numeric ID.
Intended to be constructed via a per-mod red::Registrar object.
| ID | The target profile ID to modify. |
|
inline |
|
inline |
Completes the builder by applying the changes to the vanilla profile.