public CCBValue(object pArr) { _arrValue = pArr; _type = CCBValueType.Array; }
public CCBValue(byte bValue) { intValue = bValue; _type = CCBValueType.UnsignedChar; }
public CCBValue(string pStr) { _strValue = pStr; _type = CCBValueType.String; }
public CCBValue(bool bValue) { intValue = bValue ? 1 : 0; _type = CCBValueType.Bool; }
public CCBValue(float fValue) { floatValue = fValue; _type = CCBValueType.Float; }
public CCBValue(object value) { _arrValue = value; _type = CCBValueType.Array; }
public CCBValue(int nValue) { intValue = nValue; _type = CCBValueType.Int; }
public CCBValue(byte value) { intValue = value; _type = CCBValueType.UnsignedChar; }
public CCBValue(string value) { _strValue = value; _type = CCBValueType.String; }
public CCBValue(bool value) { intValue = value ? 1 : 0; _type = CCBValueType.Bool; }
public CCBValue(float value) { floatValue = value; _type = CCBValueType.Float; }
public CCBValue (int value) { intValue = value; _type = CCBValueType.Int; }