T_Furcadia_Net_Utils_ServerObjects_DiceObject - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

DiceObject Class

This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]

Dice for the @roll channel

Inheritance Hierarchy

System.Object
  Furcadia.Net.Utils.ServerObjects.DataObject
    Furcadia.Net.Utils.ServerObjects.DiceObject
Namespace: Furcadia.Net.Utils.ServerObjects
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43

Syntax

C#

public class DiceObject : DataObject

VB

Public Class DiceObject
	Inherits DataObject

VB Usage

Dim instance As DiceObject

C++

public ref class DiceObject : public DataObject

F#

type DiceObject =  
    class
        inherit DataObject
    end

The DiceObject type exposes the following members.

Constructors

 

Name Description
Public method DiceObject Consgructor
  Back to Top

Properties

 

Name Description
Public property DiceCompnentMatch
  • or - Modifyer
Public property DiceCount Number of Dice
Public property DiceModifyer Die offset +/- n
Public property DiceResult Sum of the Dice Result
Public property DiceSides Number of sides per Die
  Back to Top

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method AsDouble (Defined by ObjectExtensions.)
Public Extension Method AsInt16 (Defined by ObjectExtensions.)
Public Extension Method AsInt32 (Defined by ObjectExtensions.)
Public Extension Method AsInt64 (Defined by ObjectExtensions.)
Public Extension Method AsString (Defined by ObjectExtensions.)
  Back to Top

See Also

Reference

Furcadia.Net.Utils.ServerObjects Namespace

⚠️ **GitHub.com Fallback** ⚠️