Skip to content

Attributes

Attributes change how CCL source is interpreted or how target code is generated.

Use this section when you need to know where an attribute can be placed, how to target a specific generator, or which values are accepted.

#[CCLVersion("1.0.0")]
#[SerializationType("binary")]
#[SerializationType("json")]
#namespace:[$go:OutputFileGroup("shared")]
[OutputFileGroup("positions")]
model PositionInfo {
X: int64;
Y: int64;
Z: int64;
}
model UserInfo {
[JsonPropertyName("user_id")]
Id: string;
}