Base class for builder objects that operate on profiles. Tracks which fields were set and holds their data.
More...
|
| Derived & | createInfo (const ActorCreateInfo *createInfo) |
| | Set the ActorCreateInfo field in the profile.
|
| Derived & | flag (const Profile::Flag flag) |
| | Set the Flag field in the profile.
|
| Derived & | drawPriority (const s16 drawPriority) |
| | Set the drawPriority field in the profile.
|
| Derived & | executePriority (const s16 executePriority) |
| | Set the executePriority field in the profile.
|
template<ComptimeFixedString... Args>
requires (sizeof...(Args) > 0) |
| Derived & | resources (ProfileInfo::ResType type) |
| | Set the resources field in the profile.
|
|
| const ActorCreateInfo * | mCreateInfo = nullptr |
| | The createInfo data for the profile we are building.
|
| Profile::Flag | mFlag = Profile::cFlag_None |
| | The flag data for the profile we are building.
|
| s16 | mDrawPriority = ProfileInfo::cProfileID_Max |
| | The drawPriority data for the profile we are building.
|
| s16 | mExecutePriority = ProfileInfo::cProfileID_Max |
| | The createInfo data for the profile we are building. This is a custom field added by RedCore.
|
| u8 | mResourceCount = 0 |
| | The entry for ProfileInfo::cResNum for the profile we are building. This is stored separately for custom profiles.
|
| sead::SafeString * | mResources = nullptr |
| | The entry for ProfileInfo::cResList for the profile we are building. This is stored separately for custom profiles.
|
| ProfileInfo::ResType | mResourceType = ProfileInfo::cResType_Course |
| | The entry for ProfileInfo::cResType for the profile we are building. This is stored separately for custom profiles.
|
| bool | mCreateInfoModified = false |
| | Whether mCreateInfo was modified. Used for validation and partial application in red::ProfileEditBuilder.
|
| bool | mFlagModified = false |
| | Whether mFlag was modified. Used for validation and partial application in red::ProfileEditBuilder.
|
| bool | mDrawPriorityModified = false |
| | Whether mDrawPriority was modified. Used for validation and partial application in red::ProfileEditBuilder.
|
| bool | mExecutePriorityModified = false |
| | Whether mExecutePriority was modified. Used for validation and partial application in red::ProfileEditBuilder.
|
| bool | mResourcesModified = false |
| | Whether mResources was modified. Used for validation and partial application in red::ProfileEditBuilder.
|
template<typename Derived>
class red::ProfileBuilder< Derived >
Base class for builder objects that operate on profiles. Tracks which fields were set and holds their data.
- Template Parameters
-
| Derived | The type of builder which inherits this one. Used for casting for the builder pattern. |