> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFTreatmentAssignment

> PFTreatmentAssignment data model.

PFTreatmentAssignment data model.

## Syntax

```cpp theme={null}
typedef struct PFTreatmentAssignment {  
    PFVariable const* variables;  
    uint32_t variablesCount;  
    const char* const* variants;  
    uint32_t variantsCount;  
} PFTreatmentAssignment;  
```

### Members

**`variables`**   [PFVariable](/services/playfab/api-references/c/pftypes/structs/pfvariable) const\*\
*may be nullptr*

(Optional) List of the experiment variables.

**`variablesCount`**   uint32\_t

Count of variables

**`variants`**   const char\* const\*\
*may be nullptr*

(Optional) List of the experiment variants.

**`variantsCount`**   uint32\_t

Count of variants

## Requirements

**Header:** PFTypes.h

## See also

[PFTypes members](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFExperimentationGetTreatmentAssignmentResult](/services/playfab/api-references/c/pfexperimentationtypes/structs/pfexperimentationgettreatmentassignmentresult.md)
- [PFAuthenticationLoginResult](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult.md)
- [Services C API overview - PFTypes.h](/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFExperimentationGetTreatmentAssignmentRequest](/services/playfab/api-references/c/pfexperimentationtypes/structs/pfexperimentationgettreatmentassignmentrequest.md)
- [PFExperimentationGetTreatmentAssignmentAsync](/services/playfab/api-references/c/pfexperimentation/functions/pfexperimentationgettreatmentassignmentasync.md)
