Browse Source

Travis CI: API documentation update at 2016-09-01 18:09:10 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/b7c7568c24ce896e358f0c1c48ef878c46829d89

Message: Add to/from string conversions for JSONValueType & JSONNumberType. Minor code cleanup and missing JSONValue script bindings. Closes #1546.

urho3d-travis-ci 9 years ago
parent
commit
b2c3a96197
4 changed files with 40 additions and 1 deletions
  1. 14 0
      Docs/AngelScriptAPI.h
  2. 14 0
      Docs/LuaScriptAPI.dox
  3. 11 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 14 - 0
Docs/AngelScriptAPI.h

@@ -5555,9 +5555,15 @@ bool isObject;
 /* readonly */
 bool isString;
 /* readonly */
+JSONNumberType numberType;
+/* readonly */
+String numberTypeName;
+/* readonly */
 uint size;
 /* readonly */
 JSONValueType valueType;
+/* readonly */
+String valueTypeName;
 };
 
 class JoystickState
@@ -14199,6 +14205,14 @@ INTERSECTS,
 INSIDE,
 };
 
+enum JSONNumberType
+{
+JSONNT_NAN,
+JSONNT_INT,
+JSONNT_UINT,
+JSONNT_FLOAT_DOUBLE,
+};
+
 enum JSONValueType
 {
 JSON_NULL,

+ 14 - 0
Docs/LuaScriptAPI.dox

@@ -2951,6 +2951,9 @@ Methods:
 - void SetArray(const JSONArray& value)
 - void SetObject(const JSONObject& value)
 - JSONValueType GetValueType() const
+- JSONNumberType GetNumberType() const
+- String GetValueTypeName() const
+- String GetNumberTypeName() const
 - bool IsNull() const
 - bool IsBool() const
 - bool IsNumber() const
@@ -2986,6 +2989,10 @@ Properties:
 - const JSONArray emptyArray
 - const JSONObject emptyObject
 - bool null (readonly)
+- JSONValueType valueType (readonly)
+- JSONNumberType numberType (readonly)
+- String valueTypeName (readonly)
+- String numberTypeName (readonly)
 
 <a name="Class_JoystickState"></a>
 ### JoystickState
@@ -7843,6 +7850,13 @@ Properties:
 - int INTERSECTS
 - int INSIDE
 
+### JSONNumberType
+
+- int JSONNT_NAN
+- int JSONNT_INT
+- int JSONNT_UINT
+- int JSONNT_FLOAT_DOUBLE
+
 ### JSONValueType
 
 - int JSON_NULL

+ 11 - 0
Docs/ScriptAPI.dox

@@ -7438,8 +7438,11 @@ Properties:
 - bool isNumber // readonly
 - bool isObject // readonly
 - bool isString // readonly
+- JSONNumberType numberType // readonly
+- String numberTypeName // readonly
 - uint size // readonly
 - JSONValueType valueType // readonly
+- String valueTypeName // readonly
 
 <a name="Class_JoystickState"></a>
 
@@ -15116,6 +15119,14 @@ Properties:
 - INSIDE
 
 
+### JSONNumberType
+
+- JSONNT_NAN
+- JSONNT_INT
+- JSONNT_UINT
+- JSONNT_FLOAT_DOUBLE
+
+
 ### JSONValueType
 
 - JSON_NULL

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.254
+0.0.255