Class WolfTip
Represents a wolf message tip.
Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Core.dll
Syntax
public class WolfTip
Constructors
| Improve this Doc View SourceWolfTip()
Creates a new instance of WOLF tip.
Declaration
[JsonConstructor]
protected WolfTip()
WolfTip(UInt32, Int32)
Creates a new tip instance, which then can be sent for tipping a message.
Declaration
public WolfTip(uint charmID, int quantity)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | charmID | ID of the charm to use as the tip. |
Int32 | quantity | Count of the tips to give at once. |
Properties
| Improve this Doc View SourceCharmID
ID of the charm used for tip display.
Declaration
[JsonProperty("id")]
public uint CharmID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
CreditsPrice
Cost of the tip.
Declaration
[JsonProperty("credits", NullValueHandling = NullValueHandling.Ignore)]
public int? CreditsPrice { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Magnitude
?
Declaration
[JsonProperty("magnitude", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public int Magnitude { get; }
Property Value
Type | Description |
---|---|
Int32 |
Quantity
Number of tips of this type.
Declaration
[JsonProperty("quantity")]
public int Quantity { get; }
Property Value
Type | Description |
---|---|
Int32 |
SenderID
ID of the user that tipped the message.
Declaration
[JsonProperty("subscriber", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(ValueOrPropertyConverter), new object[]{"id"})]
public uint? SenderID { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt32> |