> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule"
navbar: dynamic
asidebar: hide
---
# CWorkshop\_SetItemPaymentRules\_Request\_WorkshopDirectPaymentRule

Protobuf message in module `gcsdk_gcmessages`.

## Summary

- Kind: `message`
- Module: `gcsdk_gcmessages`
- Parent: `protobuf.MessageWrapper`
- Inherited fields: `0`
- Product: Counter-Strike 2

## Inheritance

- [protobuf.MessageWrapper](/cs2/api_reference/networking/protobuf#protobufmessagewrapper) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `workshop_file_id` | [integer](/cs2/api_reference/lua/base#integer)? | - | - | - | - |
| `rule_description` | [string](/cs2/api_reference/lua/base#string)? | - | - | - | - |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [CWorkshop\_SetItemPaymentRules\_Request](/cs2/dumped_data/protobuf/gcsdk_gcmessages/CWorkshop_SetItemPaymentRules_Request) | `associated_workshop_file_for_direct_payments` | gcsdk\_gcmessages | - |

