Class PartySizeProperties
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
[JsonConverter(typeof(PartySizeProperties.PartySizePropertiesConverter))]
public class PartySizeProperties
- Inheritance
-
PartySizeProperties
- Inherited Members
-
Constructors
PartySizeProperties(int, int)
public PartySizeProperties(int currentSize, int maxSize)
Parameters
currentSize
int
maxSize
int
Properties
CurrentSize
public int CurrentSize { get; set; }
Property Value
- int
MaxSize
public int MaxSize { get; set; }
Property Value
- int
Methods
WithCurrentSize(int)
public PartySizeProperties WithCurrentSize(int currentSize)
Parameters
currentSize
int
Returns
- PartySizeProperties
WithMaxSize(int)
public PartySizeProperties WithMaxSize(int maxSize)
Parameters
maxSize
int
Returns
- PartySizeProperties