|
|
@@ -1297,11 +1297,11 @@ template <class T> void RegisterMembers_DepthValue(asIScriptEngine* engine, cons
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// Vector<u8> Deserializer::ReadBuffer()
|
|
|
-template <class T> CScriptArray* Deserializer_Vectorlesu8gre_ReadBuffer_void_template(T* _ptr)
|
|
|
+// Vector<byte> Deserializer::ReadBuffer()
|
|
|
+template <class T> CScriptArray* Deserializer_Vectorlesbytegre_ReadBuffer_void_template(T* _ptr)
|
|
|
{
|
|
|
- Vector<u8> result = _ptr->ReadBuffer();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->ReadBuffer();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// StringVector Deserializer::ReadStringVector()
|
|
|
@@ -1316,8 +1316,6 @@ template <class T> void RegisterMembers_Deserializer(asIScriptEngine* engine, co
|
|
|
{
|
|
|
// virtual i32 Deserializer::Read(void* dest, i32 size) = 0
|
|
|
// Error: type "void*" can not automatically bind
|
|
|
- // byte Deserializer::ReadByte()
|
|
|
- // Error: type "byte" can not automatically bind
|
|
|
// VariantVector Deserializer::ReadVariantVector()
|
|
|
// Error: type "VariantVector" can not automatically bind
|
|
|
|
|
|
@@ -1347,8 +1345,11 @@ template <class T> void RegisterMembers_Deserializer(asIScriptEngine* engine, co
|
|
|
// BoundingBox Deserializer::ReadBoundingBox()
|
|
|
engine->RegisterObjectMethod(className, "BoundingBox ReadBoundingBox()", AS_METHODPR(T, ReadBoundingBox, (), BoundingBox), AS_CALL_THISCALL);
|
|
|
|
|
|
- // Vector<u8> Deserializer::ReadBuffer()
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ ReadBuffer()", AS_FUNCTION_OBJFIRST(Deserializer_Vectorlesu8gre_ReadBuffer_void_template<Deserializer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Vector<byte> Deserializer::ReadBuffer()
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ ReadBuffer()", AS_FUNCTION_OBJFIRST(Deserializer_Vectorlesbytegre_ReadBuffer_void_template<Deserializer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+
|
|
|
+ // byte Deserializer::ReadByte()
|
|
|
+ engine->RegisterObjectMethod(className, "byte ReadByte()", AS_METHODPR(T, ReadByte, (), byte), AS_CALL_THISCALL);
|
|
|
|
|
|
// Color Deserializer::ReadColor()
|
|
|
engine->RegisterObjectMethod(className, "Color ReadColor()", AS_METHODPR(T, ReadColor, (), Color), AS_CALL_THISCALL);
|
|
|
@@ -4382,10 +4383,10 @@ template <class T> void RegisterMembers_ScreenModeParams(asIScriptEngine* engine
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// bool Serializer::WriteBuffer(const Vector<unsigned char>& value)
|
|
|
-template <class T> bool Serializer_bool_WriteBuffer_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// bool Serializer::WriteBuffer(const Vector<byte>& value)
|
|
|
+template <class T> bool Serializer_bool_WriteBuffer_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
bool result = _ptr->WriteBuffer(value);
|
|
|
return result;
|
|
|
}
|
|
|
@@ -4403,8 +4404,6 @@ template <class T> void RegisterMembers_Serializer(asIScriptEngine* engine, cons
|
|
|
{
|
|
|
// virtual i32 Serializer::Write(const void* data, i32 size) = 0
|
|
|
// Error: type "const void*" can not automatically bind
|
|
|
- // bool Serializer::WriteByte(byte value)
|
|
|
- // Error: type "byte" can not automatically bind
|
|
|
// bool Serializer::WriteVariantVector(const VariantVector& value)
|
|
|
// Error: type "const VariantVector&" can not automatically bind
|
|
|
|
|
|
@@ -4414,8 +4413,11 @@ template <class T> void RegisterMembers_Serializer(asIScriptEngine* engine, cons
|
|
|
// bool Serializer::WriteBoundingBox(const BoundingBox& value)
|
|
|
engine->RegisterObjectMethod(className, "bool WriteBoundingBox(const BoundingBox&in)", AS_METHODPR(T, WriteBoundingBox, (const BoundingBox&), bool), AS_CALL_THISCALL);
|
|
|
|
|
|
- // bool Serializer::WriteBuffer(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "bool WriteBuffer(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(Serializer_bool_WriteBuffer_constspVectorlesunsignedspchargreamp_template<Serializer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // bool Serializer::WriteBuffer(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "bool WriteBuffer(Array<byte>@+)", AS_FUNCTION_OBJFIRST(Serializer_bool_WriteBuffer_constspVectorlesbytegreamp_template<Serializer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+
|
|
|
+ // bool Serializer::WriteByte(byte value)
|
|
|
+ engine->RegisterObjectMethod(className, "bool WriteByte(byte)", AS_METHODPR(T, WriteByte, (byte), bool), AS_CALL_THISCALL);
|
|
|
|
|
|
// bool Serializer::WriteColor(const Color& value)
|
|
|
engine->RegisterObjectMethod(className, "bool WriteColor(const Color&in)", AS_METHODPR(T, WriteColor, (const Color&), bool), AS_CALL_THISCALL);
|
|
|
@@ -5552,11 +5554,11 @@ template <class T> void RegisterMembers_VAnimKeyFrame(asIScriptEngine* engine, c
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// const Vector<unsigned char>& Variant::GetBuffer() const
|
|
|
-template <class T> CScriptArray* Variant_constspVectorlesunsignedspchargreamp_GetBuffer_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& Variant::GetBuffer() const
|
|
|
+template <class T> CScriptArray* Variant_constspVectorlesbytegreamp_GetBuffer_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<unsigned char>& result = _ptr->GetBuffer();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetBuffer();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// const StringVector& Variant::GetStringVector() const
|
|
|
@@ -5566,10 +5568,10 @@ template <class T> CScriptArray* Variant_constspStringVectoramp_GetStringVector_
|
|
|
return VectorToArray<String>(result, "Array<String>");
|
|
|
}
|
|
|
|
|
|
-// Variant& Variant::operator =(const Vector<unsigned char>& rhs)
|
|
|
-template <class T> Variant& Variant_Variantamp_operatoreq_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* rhs_conv)
|
|
|
+// Variant& Variant::operator =(const Vector<byte>& rhs)
|
|
|
+template <class T> Variant& Variant_Variantamp_operatoreq_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* rhs_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> rhs = ArrayToVector<unsigned char>(rhs_conv);
|
|
|
+ Vector<byte> rhs = ArrayToVector<byte>(rhs_conv);
|
|
|
Variant& result = _ptr->operator=(rhs);
|
|
|
return result;
|
|
|
}
|
|
|
@@ -5582,10 +5584,10 @@ template <class T> Variant& Variant_Variantamp_operatoreq_constspStringVectoramp
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
-// bool Variant::operator ==(const Vector<unsigned char>& rhs) const
|
|
|
-template <class T> bool Variant_bool_operatoreqeq_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* rhs_conv)
|
|
|
+// bool Variant::operator ==(const Vector<byte>& rhs) const
|
|
|
+template <class T> bool Variant_bool_operatoreqeq_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* rhs_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> rhs = ArrayToVector<unsigned char>(rhs_conv);
|
|
|
+ Vector<byte> rhs = ArrayToVector<byte>(rhs_conv);
|
|
|
bool result = _ptr->operator==(rhs);
|
|
|
return result;
|
|
|
}
|
|
|
@@ -5605,8 +5607,8 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// Error: type "const char*" can not automatically bind
|
|
|
// void Variant::FromString(VariantType type, const char* value)
|
|
|
// Error: type "const char*" can not automatically bind
|
|
|
- // Vector<unsigned char>* Variant::GetBufferPtr()
|
|
|
- // Error: type "Vector<unsigned char>*" can not automatically bind
|
|
|
+ // Vector<byte>* Variant::GetBufferPtr()
|
|
|
+ // Error: type "Vector<byte>*" can not automatically bind
|
|
|
// CustomVariantValue* Variant::GetCustomVariantValuePtr()
|
|
|
// Error: type "CustomVariantValue" can not automatically bind bacause have @nobind mark
|
|
|
// const CustomVariantValue* Variant::GetCustomVariantValuePtr() const
|
|
|
@@ -5649,7 +5651,7 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// Only operator == is needed
|
|
|
// bool Variant::operator !=(const String& rhs) const
|
|
|
// Only operator == is needed
|
|
|
- // bool Variant::operator !=(const Vector<unsigned char>& rhs) const
|
|
|
+ // bool Variant::operator !=(const Vector<byte>& rhs) const
|
|
|
// Only operator == is needed
|
|
|
// bool Variant::operator !=(const VectorBuffer& rhs) const
|
|
|
// Only operator == is needed
|
|
|
@@ -5714,8 +5716,8 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// bool Variant::GetBool() const
|
|
|
engine->RegisterObjectMethod(className, "bool GetBool() const", AS_METHODPR(T, GetBool, () const, bool), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<unsigned char>& Variant::GetBuffer() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetBuffer() const", AS_FUNCTION_OBJFIRST(Variant_constspVectorlesunsignedspchargreamp_GetBuffer_void_template<Variant>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& Variant::GetBuffer() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetBuffer() const", AS_FUNCTION_OBJFIRST(Variant_constspVectorlesbytegreamp_GetBuffer_void_template<Variant>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// c32 Variant::GetC32() const
|
|
|
engine->RegisterObjectMethod(className, "c32 GetC32() const", AS_METHODPR(T, GetC32, () const, c32), AS_CALL_THISCALL);
|
|
|
@@ -5862,8 +5864,8 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// Variant& Variant::operator =(const String& rhs)
|
|
|
engine->RegisterObjectMethod(className, "Variant& opAssign(const String&in)", AS_METHODPR(T, operator=, (const String&), Variant&), AS_CALL_THISCALL);
|
|
|
|
|
|
- // Variant& Variant::operator =(const Vector<unsigned char>& rhs)
|
|
|
- engine->RegisterObjectMethod(className, "Variant& opAssign(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(Variant_Variantamp_operatoreq_constspVectorlesunsignedspchargreamp_template<Variant>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Variant& Variant::operator =(const Vector<byte>& rhs)
|
|
|
+ engine->RegisterObjectMethod(className, "Variant& opAssign(Array<byte>@+)", AS_FUNCTION_OBJFIRST(Variant_Variantamp_operatoreq_constspVectorlesbytegreamp_template<Variant>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// Variant& Variant::operator =(const VectorBuffer& rhs)
|
|
|
engine->RegisterObjectMethod(className, "Variant& opAssign(const VectorBuffer&in)", AS_METHODPR(T, operator=, (const VectorBuffer&), Variant&), AS_CALL_THISCALL);
|
|
|
@@ -5946,8 +5948,8 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// bool Variant::operator ==(const String& rhs) const
|
|
|
engine->RegisterObjectMethod(className, "bool opEquals(const String&in) const", AS_METHODPR(T, operator==, (const String&) const, bool), AS_CALL_THISCALL);
|
|
|
|
|
|
- // bool Variant::operator ==(const Vector<unsigned char>& rhs) const
|
|
|
- engine->RegisterObjectMethod(className, "bool opEquals(Array<uint8>@+) const", AS_FUNCTION_OBJFIRST(Variant_bool_operatoreqeq_constspVectorlesunsignedspchargreamp_template<Variant>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // bool Variant::operator ==(const Vector<byte>& rhs) const
|
|
|
+ engine->RegisterObjectMethod(className, "bool opEquals(Array<byte>@+) const", AS_FUNCTION_OBJFIRST(Variant_bool_operatoreqeq_constspVectorlesbytegreamp_template<Variant>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// bool Variant::operator ==(const VectorBuffer& rhs) const
|
|
|
engine->RegisterObjectMethod(className, "bool opEquals(const VectorBuffer&in) const", AS_METHODPR(T, operator==, (const VectorBuffer&) const, bool), AS_CALL_THISCALL);
|
|
|
@@ -6034,7 +6036,7 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// Not registered because template
|
|
|
// template <> const IntVector3& Variant::Get() const
|
|
|
// Not registered because template
|
|
|
- // template <> const Vector<unsigned char>& Variant::Get() const
|
|
|
+ // template <> const Vector<byte>& Variant::Get() const
|
|
|
// Not registered because template
|
|
|
// template <> void* Variant::Get() const
|
|
|
// Not registered because template
|
|
|
@@ -6076,7 +6078,7 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// Not registered because template
|
|
|
// template <> IntVector3 Variant::Get() const
|
|
|
// Not registered because template
|
|
|
- // template <> Vector<unsigned char> Variant::Get() const
|
|
|
+ // template <> Vector<byte> Variant::Get() const
|
|
|
// Not registered because template
|
|
|
// template <> Matrix3 Variant::Get() const
|
|
|
// Not registered because template
|
|
|
@@ -6103,8 +6105,8 @@ template <class T> void RegisterMembers_Variant(asIScriptEngine* engine, const c
|
|
|
// static VariantType Variant::GetTypeFromName(const String& typeName)
|
|
|
engine->SetDefaultNamespace(className);engine->RegisterGlobalFunction("VariantType GetTypeFromName(const String&in)", AS_FUNCTIONPR(T::GetTypeFromName, (const String&), VariantType), AS_CALL_CDECL);engine->SetDefaultNamespace("");
|
|
|
|
|
|
- // static const Vector<unsigned char> Variant::emptyBuffer
|
|
|
- // Error: type "const Vector<unsigned char>" can not automatically bind
|
|
|
+ // static const Vector<byte> Variant::emptyBuffer
|
|
|
+ // Error: type "const Vector<byte>" can not automatically bind
|
|
|
// static const VariantVector Variant::emptyVariantVector
|
|
|
// Error: type "const VariantVector" can not automatically bind
|
|
|
// static const StringVector Variant::emptyStringVector
|
|
|
@@ -6670,11 +6672,11 @@ template <class T> CScriptArray* XMLElement_VectorlesStringgre_GetAttributeNames
|
|
|
return VectorToArray<String>(result, "Array<String>");
|
|
|
}
|
|
|
|
|
|
-// Vector<unsigned char> XMLElement::GetBuffer(const String& name) const
|
|
|
-template <class T> CScriptArray* XMLElement_Vectorlesunsignedspchargre_GetBuffer_constspStringamp_template(T* _ptr, const String& name)
|
|
|
+// Vector<byte> XMLElement::GetBuffer(const String& name) const
|
|
|
+template <class T> CScriptArray* XMLElement_Vectorlesbytegre_GetBuffer_constspStringamp_template(T* _ptr, const String& name)
|
|
|
{
|
|
|
- Vector<unsigned char> result = _ptr->GetBuffer(name);
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->GetBuffer(name);
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// StringVector XMLElement::GetStringVector() const
|
|
|
@@ -6778,8 +6780,8 @@ template <class T> void RegisterMembers_XMLElement(asIScriptEngine* engine, cons
|
|
|
// BoundingBox XMLElement::GetBoundingBox() const
|
|
|
engine->RegisterObjectMethod(className, "BoundingBox GetBoundingBox() const", AS_METHODPR(T, GetBoundingBox, () const, BoundingBox), AS_CALL_THISCALL);
|
|
|
|
|
|
- // Vector<unsigned char> XMLElement::GetBuffer(const String& name) const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetBuffer(const String&in) const", AS_FUNCTION_OBJFIRST(XMLElement_Vectorlesunsignedspchargre_GetBuffer_constspStringamp_template<XMLElement>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Vector<byte> XMLElement::GetBuffer(const String& name) const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetBuffer(const String&in) const", AS_FUNCTION_OBJFIRST(XMLElement_Vectorlesbytegre_GetBuffer_constspStringamp_template<XMLElement>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// XMLElement XMLElement::GetChild(const String& name = String::EMPTY) const
|
|
|
engine->RegisterObjectMethod(className, "XMLElement GetChild(const String&in = String::EMPTY) const", AS_METHODPR(T, GetChild, (const String&) const, XMLElement), AS_CALL_THISCALL);
|
|
|
@@ -11083,8 +11085,8 @@ template <class T> void RegisterMembers_MemoryBuffer(asIScriptEngine* engine, co
|
|
|
{
|
|
|
RegisterMembers_AbstractFile<T>(engine, className);
|
|
|
|
|
|
- // u8* MemoryBuffer::GetData()
|
|
|
- // Error: type "u8*" can not automatically bind
|
|
|
+ // byte* MemoryBuffer::GetData()
|
|
|
+ // Error: type "byte*" can not automatically bind
|
|
|
|
|
|
// bool MemoryBuffer::IsReadOnly()
|
|
|
engine->RegisterObjectMethod(className, "bool IsReadOnly()", AS_METHODPR(T, IsReadOnly, (), bool), AS_CALL_THISCALL);
|
|
|
@@ -12442,17 +12444,17 @@ template <class T> void RegisterMembers_UI(asIScriptEngine* engine, const char*
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// const Vector<u8>& VectorBuffer::GetBuffer() const
|
|
|
-template <class T> CScriptArray* VectorBuffer_constspVectorlesu8greamp_GetBuffer_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& VectorBuffer::GetBuffer() const
|
|
|
+template <class T> CScriptArray* VectorBuffer_constspVectorlesbytegreamp_GetBuffer_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<u8>& result = _ptr->GetBuffer();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetBuffer();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// void VectorBuffer::SetData(const Vector<u8>& data)
|
|
|
-template <class T> void VectorBuffer_void_SetData_constspVectorlesu8greamp_template(T* _ptr, CScriptArray* data_conv)
|
|
|
+// void VectorBuffer::SetData(const Vector<byte>& data)
|
|
|
+template <class T> void VectorBuffer_void_SetData_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* data_conv)
|
|
|
{
|
|
|
- Vector<u8> data = ArrayToVector<u8>(data_conv);
|
|
|
+ Vector<byte> data = ArrayToVector<byte>(data_conv);
|
|
|
_ptr->SetData(data);
|
|
|
}
|
|
|
|
|
|
@@ -12461,24 +12463,24 @@ template <class T> void RegisterMembers_VectorBuffer(asIScriptEngine* engine, co
|
|
|
{
|
|
|
RegisterMembers_AbstractFile<T>(engine, className);
|
|
|
|
|
|
- // const u8* VectorBuffer::GetData() const
|
|
|
- // Error: type "const u8*" can not automatically bind
|
|
|
- // u8* VectorBuffer::GetModifiableData()
|
|
|
- // Error: type "u8*" can not automatically bind
|
|
|
+ // const byte* VectorBuffer::GetData() const
|
|
|
+ // Error: type "const byte*" can not automatically bind
|
|
|
+ // byte* VectorBuffer::GetModifiableData()
|
|
|
+ // Error: type "byte*" can not automatically bind
|
|
|
// void VectorBuffer::SetData(const void* data, i32 size)
|
|
|
// Error: type "const void*" can not automatically bind
|
|
|
|
|
|
// void VectorBuffer::Clear()
|
|
|
engine->RegisterObjectMethod(className, "void Clear()", AS_METHODPR(T, Clear, (), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<u8>& VectorBuffer::GetBuffer() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetBuffer() const", AS_FUNCTION_OBJFIRST(VectorBuffer_constspVectorlesu8greamp_GetBuffer_void_template<VectorBuffer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& VectorBuffer::GetBuffer() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetBuffer() const", AS_FUNCTION_OBJFIRST(VectorBuffer_constspVectorlesbytegreamp_GetBuffer_void_template<VectorBuffer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void VectorBuffer::Resize(i32 size)
|
|
|
engine->RegisterObjectMethod(className, "void Resize(int)", AS_METHODPR(T, Resize, (i32), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void VectorBuffer::SetData(const Vector<u8>& data)
|
|
|
- engine->RegisterObjectMethod(className, "void SetData(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(VectorBuffer_void_SetData_constspVectorlesu8greamp_template<VectorBuffer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void VectorBuffer::SetData(const Vector<byte>& data)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetData(Array<byte>@+)", AS_FUNCTION_OBJFIRST(VectorBuffer_void_SetData_constspVectorlesbytegreamp_template<VectorBuffer>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void VectorBuffer::SetData(Deserializer& source, i32 size)
|
|
|
engine->RegisterObjectMethod(className, "void SetData(Deserializer&, int)", AS_METHODPR(T, SetData, (Deserializer&, i32), void), AS_CALL_THISCALL);
|
|
|
@@ -12928,8 +12930,8 @@ template <class T> void RegisterMembers_Connection(asIScriptEngine* engine, cons
|
|
|
// Error: type "const SLNet::AddressOrGUID&" can not automatically bind
|
|
|
// bool Connection::ProcessMessage(int msgID, MemoryBuffer& buffer)
|
|
|
// Error: type "MemoryBuffer" can not automatically bind bacause have @nobind mark
|
|
|
- // void Connection::SendMessage(int msgID, bool reliable, bool inOrder, const unsigned char* data, unsigned numBytes, unsigned contentID = 0)
|
|
|
- // Error: type "const unsigned char*" can not automatically bind
|
|
|
+ // void Connection::SendMessage(int msgID, bool reliable, bool inOrder, const byte* data, unsigned numBytes, unsigned contentID = 0)
|
|
|
+ // Error: type "const byte*" can not automatically bind
|
|
|
// void Connection::SetAddressOrGUID(const SLNet::AddressOrGUID& addr)
|
|
|
// Error: type "const SLNet::AddressOrGUID&" can not automatically bind
|
|
|
|
|
|
@@ -13128,8 +13130,8 @@ template <class T> void RegisterMembers_Network(asIScriptEngine* engine, const c
|
|
|
{
|
|
|
RegisterMembers_Object<T>(engine, className);
|
|
|
|
|
|
- // void Network::BroadcastMessage(int msgID, bool reliable, bool inOrder, const unsigned char* data, unsigned numBytes, unsigned contentID = 0)
|
|
|
- // Error: type "const unsigned char*" can not automatically bind
|
|
|
+ // void Network::BroadcastMessage(int msgID, bool reliable, bool inOrder, const byte* data, unsigned numBytes, unsigned contentID = 0)
|
|
|
+ // Error: type "const byte*" can not automatically bind
|
|
|
// void Network::ClientDisconnected(const SLNet::AddressOrGUID& connection)
|
|
|
// Error: type "const SLNet::AddressOrGUID&" can not automatically bind
|
|
|
// Connection* Network::GetConnection(const SLNet::AddressOrGUID& connection) const
|
|
|
@@ -15524,18 +15526,18 @@ template <class T> CScriptArray* Node_constspVectorlesNodestargreamp_GetDependen
|
|
|
return VectorToHandleArray(result, "Array<Node@>");
|
|
|
}
|
|
|
|
|
|
-// const Vector<unsigned char>& Node::GetNetParentAttr() const
|
|
|
-template <class T> CScriptArray* Node_constspVectorlesunsignedspchargreamp_GetNetParentAttr_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& Node::GetNetParentAttr() const
|
|
|
+template <class T> CScriptArray* Node_constspVectorlesbytegreamp_GetNetParentAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<unsigned char>& result = _ptr->GetNetParentAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetNetParentAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// const Vector<unsigned char>& Node::GetNetRotationAttr() const
|
|
|
-template <class T> CScriptArray* Node_constspVectorlesunsignedspchargreamp_GetNetRotationAttr_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& Node::GetNetRotationAttr() const
|
|
|
+template <class T> CScriptArray* Node_constspVectorlesbytegreamp_GetNetRotationAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<unsigned char>& result = _ptr->GetNetRotationAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetNetRotationAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// const StringVector& Node::GetTags() const
|
|
|
@@ -15545,17 +15547,17 @@ template <class T> CScriptArray* Node_constspStringVectoramp_GetTags_void_templa
|
|
|
return VectorToArray<String>(result, "Array<String>");
|
|
|
}
|
|
|
|
|
|
-// void Node::SetNetParentAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void Node_void_SetNetParentAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void Node::SetNetParentAttr(const Vector<byte>& value)
|
|
|
+template <class T> void Node_void_SetNetParentAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetNetParentAttr(value);
|
|
|
}
|
|
|
|
|
|
-// void Node::SetNetRotationAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void Node_void_SetNetRotationAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void Node::SetNetRotationAttr(const Vector<byte>& value)
|
|
|
+template <class T> void Node_void_SetNetRotationAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetNetRotationAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -15684,14 +15686,14 @@ template <class T> void RegisterMembers_Node(asIScriptEngine* engine, const char
|
|
|
// StringHash Node::GetNameHash() const
|
|
|
engine->RegisterObjectMethod(className, "StringHash GetNameHash() const", AS_METHODPR(T, GetNameHash, () const, StringHash), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<unsigned char>& Node::GetNetParentAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetNetParentAttr() const", AS_FUNCTION_OBJFIRST(Node_constspVectorlesunsignedspchargreamp_GetNetParentAttr_void_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& Node::GetNetParentAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetNetParentAttr() const", AS_FUNCTION_OBJFIRST(Node_constspVectorlesbytegreamp_GetNetParentAttr_void_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// const Vector3& Node::GetNetPositionAttr() const
|
|
|
engine->RegisterObjectMethod(className, "const Vector3& GetNetPositionAttr() const", AS_METHODPR(T, GetNetPositionAttr, () const, const Vector3&), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<unsigned char>& Node::GetNetRotationAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetNetRotationAttr() const", AS_FUNCTION_OBJFIRST(Node_constspVectorlesunsignedspchargreamp_GetNetRotationAttr_void_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& Node::GetNetRotationAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetNetRotationAttr() const", AS_FUNCTION_OBJFIRST(Node_constspVectorlesbytegreamp_GetNetRotationAttr_void_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// i32 Node::GetNumChildren(bool recursive = false) const
|
|
|
engine->RegisterObjectMethod(className, "int GetNumChildren(bool = false) const", AS_METHODPR(T, GetNumChildren, (bool) const, i32), AS_CALL_THISCALL);
|
|
|
@@ -15955,14 +15957,14 @@ template <class T> void RegisterMembers_Node(asIScriptEngine* engine, const char
|
|
|
engine->RegisterObjectMethod(className, "void SetName(const String&in)", AS_METHODPR(T, SetName, (const String&), void), AS_CALL_THISCALL);
|
|
|
engine->RegisterObjectMethod(className, "void set_name(const String&in)", AS_METHODPR(T, SetName, (const String&), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void Node::SetNetParentAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetNetParentAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(Node_void_SetNetParentAttr_constspVectorlesunsignedspchargreamp_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void Node::SetNetParentAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetNetParentAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(Node_void_SetNetParentAttr_constspVectorlesbytegreamp_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void Node::SetNetPositionAttr(const Vector3& value)
|
|
|
engine->RegisterObjectMethod(className, "void SetNetPositionAttr(const Vector3&in)", AS_METHODPR(T, SetNetPositionAttr, (const Vector3&), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void Node::SetNetRotationAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetNetRotationAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(Node_void_SetNetRotationAttr_constspVectorlesunsignedspchargreamp_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void Node::SetNetRotationAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetNetRotationAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(Node_void_SetNetRotationAttr_constspVectorlesbytegreamp_template<Node>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void Node::SetParent(Node* parent)
|
|
|
engine->RegisterObjectMethod(className, "void SetParent(Node@+)", AS_METHODPR(T, SetParent, (Node*), void), AS_CALL_THISCALL);
|
|
|
@@ -17199,17 +17201,17 @@ template <class T> void RegisterMembers_UIElement(asIScriptEngine* engine, const
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// const Vector<unsigned char>& AnimationController::GetNetAnimationsAttr() const
|
|
|
-template <class T> CScriptArray* AnimationController_constspVectorlesunsignedspchargreamp_GetNetAnimationsAttr_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& AnimationController::GetNetAnimationsAttr() const
|
|
|
+template <class T> CScriptArray* AnimationController_constspVectorlesbytegreamp_GetNetAnimationsAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<unsigned char>& result = _ptr->GetNetAnimationsAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetNetAnimationsAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// void AnimationController::SetNetAnimationsAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void AnimationController_void_SetNetAnimationsAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void AnimationController::SetNetAnimationsAttr(const Vector<byte>& value)
|
|
|
+template <class T> void AnimationController_void_SetNetAnimationsAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetNetAnimationsAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -17262,8 +17264,8 @@ template <class T> void RegisterMembers_AnimationController(asIScriptEngine* eng
|
|
|
// float AnimationController::GetLength(const String& name) const
|
|
|
engine->RegisterObjectMethod(className, "float GetLength(const String&in) const", AS_METHODPR(T, GetLength, (const String&) const, float), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<unsigned char>& AnimationController::GetNetAnimationsAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetNetAnimationsAttr() const", AS_FUNCTION_OBJFIRST(AnimationController_constspVectorlesunsignedspchargreamp_GetNetAnimationsAttr_void_template<AnimationController>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& AnimationController::GetNetAnimationsAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetNetAnimationsAttr() const", AS_FUNCTION_OBJFIRST(AnimationController_constspVectorlesbytegreamp_GetNetAnimationsAttr_void_template<AnimationController>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// bool AnimationController::GetRemoveOnCompletion(const String& name) const
|
|
|
engine->RegisterObjectMethod(className, "bool GetRemoveOnCompletion(const String&in) const", AS_METHODPR(T, GetRemoveOnCompletion, (const String&) const, bool), AS_CALL_THISCALL);
|
|
|
@@ -17319,8 +17321,8 @@ template <class T> void RegisterMembers_AnimationController(asIScriptEngine* eng
|
|
|
// bool AnimationController::SetLooped(const String& name, bool enable)
|
|
|
engine->RegisterObjectMethod(className, "bool SetLooped(const String&in, bool)", AS_METHODPR(T, SetLooped, (const String&, bool), bool), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void AnimationController::SetNetAnimationsAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetNetAnimationsAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(AnimationController_void_SetNetAnimationsAttr_constspVectorlesunsignedspchargreamp_template<AnimationController>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void AnimationController::SetNetAnimationsAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetNetAnimationsAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(AnimationController_void_SetNetAnimationsAttr_constspVectorlesbytegreamp_template<AnimationController>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// bool AnimationController::SetRemoveOnCompletion(const String& name, bool removeOnCompletion)
|
|
|
engine->RegisterObjectMethod(className, "bool SetRemoveOnCompletion(const String&in, bool)", AS_METHODPR(T, SetRemoveOnCompletion, (const String&, bool), bool), AS_CALL_THISCALL);
|
|
|
@@ -19984,25 +19986,25 @@ template <class T> void RegisterMembers_Navigable(asIScriptEngine* engine, const
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// virtual bool NavigationMesh::AddTile(const Vector<unsigned char>& tileData)
|
|
|
-template <class T> bool NavigationMesh_bool_AddTile_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* tileData_conv)
|
|
|
+// virtual bool NavigationMesh::AddTile(const Vector<byte>& tileData)
|
|
|
+template <class T> bool NavigationMesh_bool_AddTile_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* tileData_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> tileData = ArrayToVector<unsigned char>(tileData_conv);
|
|
|
+ Vector<byte> tileData = ArrayToVector<byte>(tileData_conv);
|
|
|
bool result = _ptr->AddTile(tileData);
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
-// virtual Vector<unsigned char> NavigationMesh::GetNavigationDataAttr() const
|
|
|
-template <class T> CScriptArray* NavigationMesh_Vectorlesunsignedspchargre_GetNavigationDataAttr_void_template(T* _ptr)
|
|
|
+// virtual Vector<byte> NavigationMesh::GetNavigationDataAttr() const
|
|
|
+template <class T> CScriptArray* NavigationMesh_Vectorlesbytegre_GetNavigationDataAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- Vector<unsigned char> result = _ptr->GetNavigationDataAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->GetNavigationDataAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// virtual void NavigationMesh::SetNavigationDataAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void NavigationMesh_void_SetNavigationDataAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// virtual void NavigationMesh::SetNavigationDataAttr(const Vector<byte>& value)
|
|
|
+template <class T> void NavigationMesh_void_SetNavigationDataAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetNavigationDataAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -20023,15 +20025,15 @@ template <class T> void RegisterMembers_NavigationMesh(asIScriptEngine* engine,
|
|
|
// Error: type "const dtQueryFilter*" can not automatically bind
|
|
|
// Vector3 NavigationMesh::GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents = Vector3::ONE, const dtQueryFilter* filter = nullptr, dtPolyRef* randomRef = nullptr)
|
|
|
// Error: type "const dtQueryFilter*" can not automatically bind
|
|
|
- // virtual Vector<unsigned char> NavigationMesh::GetTileData(const IntVector2& tile) const
|
|
|
+ // virtual Vector<byte> NavigationMesh::GetTileData(const IntVector2& tile) const
|
|
|
// Not registered because have @manualbind mark
|
|
|
// Vector3 NavigationMesh::MoveAlongSurface(const Vector3& start, const Vector3& end, const Vector3& extents = Vector3::ONE, int maxVisited = 3, const dtQueryFilter* filter = nullptr)
|
|
|
// Error: type "const dtQueryFilter*" can not automatically bind
|
|
|
// Vector3 NavigationMesh::Raycast(const Vector3& start, const Vector3& end, const Vector3& extents = Vector3::ONE, const dtQueryFilter* filter = nullptr, Vector3* hitNormal = nullptr)
|
|
|
// Error: type "const dtQueryFilter*" can not automatically bind
|
|
|
|
|
|
- // virtual bool NavigationMesh::AddTile(const Vector<unsigned char>& tileData)
|
|
|
- engine->RegisterObjectMethod(className, "bool AddTile(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(NavigationMesh_bool_AddTile_constspVectorlesunsignedspchargreamp_template<NavigationMesh>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // virtual bool NavigationMesh::AddTile(const Vector<byte>& tileData)
|
|
|
+ engine->RegisterObjectMethod(className, "bool AddTile(Array<byte>@+)", AS_FUNCTION_OBJFIRST(NavigationMesh_bool_AddTile_constspVectorlesbytegreamp_template<NavigationMesh>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// virtual bool NavigationMesh::Allocate(const BoundingBox& boundingBox, unsigned maxTiles)
|
|
|
engine->RegisterObjectMethod(className, "bool Allocate(const BoundingBox&in, uint)", AS_METHODPR(T, Allocate, (const BoundingBox&, unsigned), bool), AS_CALL_THISCALL);
|
|
|
@@ -20109,8 +20111,8 @@ template <class T> void RegisterMembers_NavigationMesh(asIScriptEngine* engine,
|
|
|
// String NavigationMesh::GetMeshName() const
|
|
|
engine->RegisterObjectMethod(className, "String GetMeshName() const", AS_METHODPR(T, GetMeshName, () const, String), AS_CALL_THISCALL);
|
|
|
|
|
|
- // virtual Vector<unsigned char> NavigationMesh::GetNavigationDataAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetNavigationDataAttr() const", AS_FUNCTION_OBJFIRST(NavigationMesh_Vectorlesunsignedspchargre_GetNavigationDataAttr_void_template<NavigationMesh>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // virtual Vector<byte> NavigationMesh::GetNavigationDataAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetNavigationDataAttr() const", AS_FUNCTION_OBJFIRST(NavigationMesh_Vectorlesbytegre_GetNavigationDataAttr_void_template<NavigationMesh>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// IntVector2 NavigationMesh::GetNumTiles() const
|
|
|
engine->RegisterObjectMethod(className, "IntVector2 GetNumTiles() const", AS_METHODPR(T, GetNumTiles, () const, IntVector2), AS_CALL_THISCALL);
|
|
|
@@ -20213,8 +20215,8 @@ template <class T> void RegisterMembers_NavigationMesh(asIScriptEngine* engine,
|
|
|
// void NavigationMesh::SetMeshName(const String& newName)
|
|
|
engine->RegisterObjectMethod(className, "void SetMeshName(const String&in)", AS_METHODPR(T, SetMeshName, (const String&), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // virtual void NavigationMesh::SetNavigationDataAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetNavigationDataAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(NavigationMesh_void_SetNavigationDataAttr_constspVectorlesunsignedspchargreamp_template<NavigationMesh>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // virtual void NavigationMesh::SetNavigationDataAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetNavigationDataAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(NavigationMesh_void_SetNavigationDataAttr_constspVectorlesbytegreamp_template<NavigationMesh>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void NavigationMesh::SetPadding(const Vector3& padding)
|
|
|
engine->RegisterObjectMethod(className, "void SetPadding(const Vector3&in)", AS_METHODPR(T, SetPadding, (const Vector3&), void), AS_CALL_THISCALL);
|
|
|
@@ -20841,17 +20843,17 @@ template <class T> void RegisterMembers_PhysicsWorld(asIScriptEngine* engine, co
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// const Vector<unsigned char>& RigidBody::GetNetAngularVelocityAttr() const
|
|
|
-template <class T> CScriptArray* RigidBody_constspVectorlesunsignedspchargreamp_GetNetAngularVelocityAttr_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& RigidBody::GetNetAngularVelocityAttr() const
|
|
|
+template <class T> CScriptArray* RigidBody_constspVectorlesbytegreamp_GetNetAngularVelocityAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<unsigned char>& result = _ptr->GetNetAngularVelocityAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetNetAngularVelocityAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// void RigidBody::SetNetAngularVelocityAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void RigidBody_void_SetNetAngularVelocityAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void RigidBody::SetNetAngularVelocityAttr(const Vector<byte>& value)
|
|
|
+template <class T> void RigidBody_void_SetNetAngularVelocityAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetNetAngularVelocityAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -20983,8 +20985,8 @@ template <class T> void RegisterMembers_RigidBody(asIScriptEngine* engine, const
|
|
|
engine->RegisterObjectMethod(className, "float GetMass() const", AS_METHODPR(T, GetMass, () const, float), AS_CALL_THISCALL);
|
|
|
engine->RegisterObjectMethod(className, "float get_mass() const", AS_METHODPR(T, GetMass, () const, float), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<unsigned char>& RigidBody::GetNetAngularVelocityAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetNetAngularVelocityAttr() const", AS_FUNCTION_OBJFIRST(RigidBody_constspVectorlesunsignedspchargreamp_GetNetAngularVelocityAttr_void_template<RigidBody>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& RigidBody::GetNetAngularVelocityAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetNetAngularVelocityAttr() const", AS_FUNCTION_OBJFIRST(RigidBody_constspVectorlesbytegreamp_GetNetAngularVelocityAttr_void_template<RigidBody>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// PhysicsWorld* RigidBody::GetPhysicsWorld() const
|
|
|
engine->RegisterObjectMethod(className, "PhysicsWorld@+ GetPhysicsWorld() const", AS_METHODPR(T, GetPhysicsWorld, () const, PhysicsWorld*), AS_CALL_THISCALL);
|
|
|
@@ -21115,8 +21117,8 @@ template <class T> void RegisterMembers_RigidBody(asIScriptEngine* engine, const
|
|
|
engine->RegisterObjectMethod(className, "void SetMass(float)", AS_METHODPR(T, SetMass, (float), void), AS_CALL_THISCALL);
|
|
|
engine->RegisterObjectMethod(className, "void set_mass(float)", AS_METHODPR(T, SetMass, (float), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void RigidBody::SetNetAngularVelocityAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetNetAngularVelocityAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(RigidBody_void_SetNetAngularVelocityAttr_constspVectorlesunsignedspchargreamp_template<RigidBody>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void RigidBody::SetNetAngularVelocityAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetNetAngularVelocityAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(RigidBody_void_SetNetAngularVelocityAttr_constspVectorlesbytegreamp_template<RigidBody>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void RigidBody::SetPosition(const Vector3& position)
|
|
|
engine->RegisterObjectMethod(className, "void SetPosition(const Vector3&in)", AS_METHODPR(T, SetPosition, (const Vector3&), void), AS_CALL_THISCALL);
|
|
|
@@ -21787,17 +21789,17 @@ template <class T> void RegisterMembers_TileMapLayer2D(asIScriptEngine* engine,
|
|
|
|
|
|
#endif // def URHO3D_URHO2D
|
|
|
|
|
|
-// const Vector<u8>& BillboardSet::GetNetBillboardsAttr() const
|
|
|
-template <class T> CScriptArray* BillboardSet_constspVectorlesu8greamp_GetNetBillboardsAttr_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& BillboardSet::GetNetBillboardsAttr() const
|
|
|
+template <class T> CScriptArray* BillboardSet_constspVectorlesbytegreamp_GetNetBillboardsAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<u8>& result = _ptr->GetNetBillboardsAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetNetBillboardsAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// void BillboardSet::SetNetBillboardsAttr(const Vector<u8>& value)
|
|
|
-template <class T> void BillboardSet_void_SetNetBillboardsAttr_constspVectorlesu8greamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void BillboardSet::SetNetBillboardsAttr(const Vector<byte>& value)
|
|
|
+template <class T> void BillboardSet_void_SetNetBillboardsAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<u8> value = ArrayToVector<u8>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetNetBillboardsAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -21839,8 +21841,8 @@ template <class T> void RegisterMembers_BillboardSet(asIScriptEngine* engine, co
|
|
|
engine->RegisterObjectMethod(className, "float GetMinAngle() const", AS_METHODPR(T, GetMinAngle, () const, float), AS_CALL_THISCALL);
|
|
|
engine->RegisterObjectMethod(className, "float get_minAngle() const", AS_METHODPR(T, GetMinAngle, () const, float), AS_CALL_THISCALL);
|
|
|
|
|
|
- // const Vector<u8>& BillboardSet::GetNetBillboardsAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetNetBillboardsAttr() const", AS_FUNCTION_OBJFIRST(BillboardSet_constspVectorlesu8greamp_GetNetBillboardsAttr_void_template<BillboardSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& BillboardSet::GetNetBillboardsAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetNetBillboardsAttr() const", AS_FUNCTION_OBJFIRST(BillboardSet_constspVectorlesbytegreamp_GetNetBillboardsAttr_void_template<BillboardSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// i32 BillboardSet::GetNumBillboards() const
|
|
|
engine->RegisterObjectMethod(className, "int GetNumBillboards() const", AS_METHODPR(T, GetNumBillboards, () const, i32), AS_CALL_THISCALL);
|
|
|
@@ -21885,8 +21887,8 @@ template <class T> void RegisterMembers_BillboardSet(asIScriptEngine* engine, co
|
|
|
engine->RegisterObjectMethod(className, "void SetMinAngle(float)", AS_METHODPR(T, SetMinAngle, (float), void), AS_CALL_THISCALL);
|
|
|
engine->RegisterObjectMethod(className, "void set_minAngle(float)", AS_METHODPR(T, SetMinAngle, (float), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void BillboardSet::SetNetBillboardsAttr(const Vector<u8>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetNetBillboardsAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(BillboardSet_void_SetNetBillboardsAttr_constspVectorlesu8greamp_template<BillboardSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void BillboardSet::SetNetBillboardsAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetNetBillboardsAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(BillboardSet_void_SetNetBillboardsAttr_constspVectorlesbytegreamp_template<BillboardSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void BillboardSet::SetNumBillboards(i32 num)
|
|
|
engine->RegisterObjectMethod(className, "void SetNumBillboards(int)", AS_METHODPR(T, SetNumBillboards, (i32), void), AS_CALL_THISCALL);
|
|
|
@@ -22039,17 +22041,17 @@ template <class T> void RegisterMembers_Cursor(asIScriptEngine* engine, const ch
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// Vector<unsigned char> CustomGeometry::GetGeometryDataAttr() const
|
|
|
-template <class T> CScriptArray* CustomGeometry_Vectorlesunsignedspchargre_GetGeometryDataAttr_void_template(T* _ptr)
|
|
|
+// Vector<byte> CustomGeometry::GetGeometryDataAttr() const
|
|
|
+template <class T> CScriptArray* CustomGeometry_Vectorlesbytegre_GetGeometryDataAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- Vector<unsigned char> result = _ptr->GetGeometryDataAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->GetGeometryDataAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// void CustomGeometry::SetGeometryDataAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void CustomGeometry_void_SetGeometryDataAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void CustomGeometry::SetGeometryDataAttr(const Vector<byte>& value)
|
|
|
+template <class T> void CustomGeometry_void_SetGeometryDataAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetGeometryDataAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -22088,8 +22090,8 @@ template <class T> void RegisterMembers_CustomGeometry(asIScriptEngine* engine,
|
|
|
// void CustomGeometry::DefineVertex(const Vector3& position)
|
|
|
engine->RegisterObjectMethod(className, "void DefineVertex(const Vector3&in)", AS_METHODPR(T, DefineVertex, (const Vector3&), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // Vector<unsigned char> CustomGeometry::GetGeometryDataAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetGeometryDataAttr() const", AS_FUNCTION_OBJFIRST(CustomGeometry_Vectorlesunsignedspchargre_GetGeometryDataAttr_void_template<CustomGeometry>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Vector<byte> CustomGeometry::GetGeometryDataAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetGeometryDataAttr() const", AS_FUNCTION_OBJFIRST(CustomGeometry_Vectorlesbytegre_GetGeometryDataAttr_void_template<CustomGeometry>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// Material* CustomGeometry::GetMaterial(unsigned index = 0) const
|
|
|
engine->RegisterObjectMethod(className, "Material@+ GetMaterial(uint = 0) const", AS_METHODPR(T, GetMaterial, (unsigned) const, Material*), AS_CALL_THISCALL);
|
|
|
@@ -22117,8 +22119,8 @@ template <class T> void RegisterMembers_CustomGeometry(asIScriptEngine* engine,
|
|
|
engine->RegisterObjectMethod(className, "void SetDynamic(bool)", AS_METHODPR(T, SetDynamic, (bool), void), AS_CALL_THISCALL);
|
|
|
engine->RegisterObjectMethod(className, "void set_dynamic(bool)", AS_METHODPR(T, SetDynamic, (bool), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void CustomGeometry::SetGeometryDataAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetGeometryDataAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(CustomGeometry_void_SetGeometryDataAttr_constspVectorlesunsignedspchargreamp_template<CustomGeometry>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void CustomGeometry::SetGeometryDataAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetGeometryDataAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(CustomGeometry_void_SetGeometryDataAttr_constspVectorlesbytegreamp_template<CustomGeometry>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void CustomGeometry::SetMaterial(Material* material)
|
|
|
engine->RegisterObjectMethod(className, "void SetMaterial(Material@+)", AS_METHODPR(T, SetMaterial, (Material*), void), AS_CALL_THISCALL);
|
|
|
@@ -22143,17 +22145,17 @@ template <class T> void RegisterMembers_CustomGeometry(asIScriptEngine* engine,
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-// Vector<unsigned char> DecalSet::GetDecalsAttr() const
|
|
|
-template <class T> CScriptArray* DecalSet_Vectorlesunsignedspchargre_GetDecalsAttr_void_template(T* _ptr)
|
|
|
+// Vector<byte> DecalSet::GetDecalsAttr() const
|
|
|
+template <class T> CScriptArray* DecalSet_Vectorlesbytegre_GetDecalsAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- Vector<unsigned char> result = _ptr->GetDecalsAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->GetDecalsAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
-// void DecalSet::SetDecalsAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void DecalSet_void_SetDecalsAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void DecalSet::SetDecalsAttr(const Vector<byte>& value)
|
|
|
+template <class T> void DecalSet_void_SetDecalsAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetDecalsAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -22165,8 +22167,8 @@ template <class T> void RegisterMembers_DecalSet(asIScriptEngine* engine, const
|
|
|
// bool DecalSet::AddDecal(Drawable* target, const Vector3& worldPosition, const Quaternion& worldRotation, float size, float aspectRatio, float depth, const Vector2& topLeftUV, const Vector2& bottomRightUV, float timeToLive = 0.0f, float normalCutoff = 0.1f, unsigned subGeometry = M_MAX_UNSIGNED)
|
|
|
engine->RegisterObjectMethod(className, "bool AddDecal(Drawable@+, const Vector3&in, const Quaternion&in, float, float, float, const Vector2&in, const Vector2&in, float = 0.0f, float = 0.1f, uint = M_MAX_UNSIGNED)", AS_METHODPR(T, AddDecal, (Drawable*, const Vector3&, const Quaternion&, float, float, float, const Vector2&, const Vector2&, float, float, unsigned), bool), AS_CALL_THISCALL);
|
|
|
|
|
|
- // Vector<unsigned char> DecalSet::GetDecalsAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetDecalsAttr() const", AS_FUNCTION_OBJFIRST(DecalSet_Vectorlesunsignedspchargre_GetDecalsAttr_void_template<DecalSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Vector<byte> DecalSet::GetDecalsAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetDecalsAttr() const", AS_FUNCTION_OBJFIRST(DecalSet_Vectorlesbytegre_GetDecalsAttr_void_template<DecalSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// Material* DecalSet::GetMaterial() const
|
|
|
engine->RegisterObjectMethod(className, "Material@+ GetMaterial() const", AS_METHODPR(T, GetMaterial, () const, Material*), AS_CALL_THISCALL);
|
|
|
@@ -22205,8 +22207,8 @@ template <class T> void RegisterMembers_DecalSet(asIScriptEngine* engine, const
|
|
|
// void DecalSet::RemoveDecals(unsigned num)
|
|
|
engine->RegisterObjectMethod(className, "void RemoveDecals(uint)", AS_METHODPR(T, RemoveDecals, (unsigned), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void DecalSet::SetDecalsAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetDecalsAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(DecalSet_void_SetDecalsAttr_constspVectorlesunsignedspchargreamp_template<DecalSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void DecalSet::SetDecalsAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetDecalsAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(DecalSet_void_SetDecalsAttr_constspVectorlesbytegreamp_template<DecalSet>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void DecalSet::SetMaterial(Material* material)
|
|
|
engine->RegisterObjectMethod(className, "void SetMaterial(Material@+)", AS_METHODPR(T, SetMaterial, (Material*), void), AS_CALL_THISCALL);
|
|
|
@@ -24176,11 +24178,11 @@ template <class T> CScriptArray* CollisionChain2D_constspVectorlesVector2greamp_
|
|
|
return VectorToArray(result, "Array<Vector2>");
|
|
|
}
|
|
|
|
|
|
-// Vector<u8> CollisionChain2D::GetVerticesAttr() const
|
|
|
-template <class T> CScriptArray* CollisionChain2D_Vectorlesu8gre_GetVerticesAttr_void_template(T* _ptr)
|
|
|
+// Vector<byte> CollisionChain2D::GetVerticesAttr() const
|
|
|
+template <class T> CScriptArray* CollisionChain2D_Vectorlesbytegre_GetVerticesAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- Vector<u8> result = _ptr->GetVerticesAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->GetVerticesAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// void CollisionChain2D::SetVertices(const Vector<Vector2>& vertices)
|
|
|
@@ -24190,10 +24192,10 @@ template <class T> void CollisionChain2D_void_SetVertices_constspVectorlesVector
|
|
|
_ptr->SetVertices(vertices);
|
|
|
}
|
|
|
|
|
|
-// void CollisionChain2D::SetVerticesAttr(const Vector<u8>& value)
|
|
|
-template <class T> void CollisionChain2D_void_SetVerticesAttr_constspVectorlesu8greamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void CollisionChain2D::SetVerticesAttr(const Vector<byte>& value)
|
|
|
+template <class T> void CollisionChain2D_void_SetVerticesAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<u8> value = ArrayToVector<u8>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetVerticesAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -24216,8 +24218,8 @@ template <class T> void RegisterMembers_CollisionChain2D(asIScriptEngine* engine
|
|
|
// const Vector<Vector2>& CollisionChain2D::GetVertices() const
|
|
|
engine->RegisterObjectMethod(className, "Array<Vector2>@ GetVertices() const", AS_FUNCTION_OBJFIRST(CollisionChain2D_constspVectorlesVector2greamp_GetVertices_void_template<CollisionChain2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
- // Vector<u8> CollisionChain2D::GetVerticesAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetVerticesAttr() const", AS_FUNCTION_OBJFIRST(CollisionChain2D_Vectorlesu8gre_GetVerticesAttr_void_template<CollisionChain2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Vector<byte> CollisionChain2D::GetVerticesAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetVerticesAttr() const", AS_FUNCTION_OBJFIRST(CollisionChain2D_Vectorlesbytegre_GetVerticesAttr_void_template<CollisionChain2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void CollisionChain2D::SetLoop(bool loop)
|
|
|
engine->RegisterObjectMethod(className, "void SetLoop(bool)", AS_METHODPR(T, SetLoop, (bool), void), AS_CALL_THISCALL);
|
|
|
@@ -24233,8 +24235,8 @@ template <class T> void RegisterMembers_CollisionChain2D(asIScriptEngine* engine
|
|
|
// void CollisionChain2D::SetVertices(const Vector<Vector2>& vertices)
|
|
|
engine->RegisterObjectMethod(className, "void SetVertices(Array<Vector2>@+)", AS_FUNCTION_OBJFIRST(CollisionChain2D_void_SetVertices_constspVectorlesVector2greamp_template<CollisionChain2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
- // void CollisionChain2D::SetVerticesAttr(const Vector<u8>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetVerticesAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(CollisionChain2D_void_SetVerticesAttr_constspVectorlesu8greamp_template<CollisionChain2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void CollisionChain2D::SetVerticesAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetVerticesAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(CollisionChain2D_void_SetVerticesAttr_constspVectorlesbytegreamp_template<CollisionChain2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
#ifdef REGISTER_MEMBERS_MANUAL_PART_CollisionChain2D
|
|
|
REGISTER_MEMBERS_MANUAL_PART_CollisionChain2D();
|
|
|
@@ -24306,11 +24308,11 @@ template <class T> CScriptArray* CollisionPolygon2D_constspVectorlesVector2gream
|
|
|
return VectorToArray(result, "Array<Vector2>");
|
|
|
}
|
|
|
|
|
|
-// Vector<u8> CollisionPolygon2D::GetVerticesAttr() const
|
|
|
-template <class T> CScriptArray* CollisionPolygon2D_Vectorlesu8gre_GetVerticesAttr_void_template(T* _ptr)
|
|
|
+// Vector<byte> CollisionPolygon2D::GetVerticesAttr() const
|
|
|
+template <class T> CScriptArray* CollisionPolygon2D_Vectorlesbytegre_GetVerticesAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- Vector<u8> result = _ptr->GetVerticesAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ Vector<byte> result = _ptr->GetVerticesAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// void CollisionPolygon2D::SetVertices(const Vector<Vector2>& vertices)
|
|
|
@@ -24320,10 +24322,10 @@ template <class T> void CollisionPolygon2D_void_SetVertices_constspVectorlesVect
|
|
|
_ptr->SetVertices(vertices);
|
|
|
}
|
|
|
|
|
|
-// void CollisionPolygon2D::SetVerticesAttr(const Vector<u8>& value)
|
|
|
-template <class T> void CollisionPolygon2D_void_SetVerticesAttr_constspVectorlesu8greamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void CollisionPolygon2D::SetVerticesAttr(const Vector<byte>& value)
|
|
|
+template <class T> void CollisionPolygon2D_void_SetVerticesAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<u8> value = ArrayToVector<u8>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetVerticesAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -24342,8 +24344,8 @@ template <class T> void RegisterMembers_CollisionPolygon2D(asIScriptEngine* engi
|
|
|
// const Vector<Vector2>& CollisionPolygon2D::GetVertices() const
|
|
|
engine->RegisterObjectMethod(className, "Array<Vector2>@ GetVertices() const", AS_FUNCTION_OBJFIRST(CollisionPolygon2D_constspVectorlesVector2greamp_GetVertices_void_template<CollisionPolygon2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
- // Vector<u8> CollisionPolygon2D::GetVerticesAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetVerticesAttr() const", AS_FUNCTION_OBJFIRST(CollisionPolygon2D_Vectorlesu8gre_GetVerticesAttr_void_template<CollisionPolygon2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // Vector<byte> CollisionPolygon2D::GetVerticesAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetVerticesAttr() const", AS_FUNCTION_OBJFIRST(CollisionPolygon2D_Vectorlesbytegre_GetVerticesAttr_void_template<CollisionPolygon2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void CollisionPolygon2D::SetVertex(i32 index, const Vector2& vertex)
|
|
|
engine->RegisterObjectMethod(className, "void SetVertex(int, const Vector2&in)", AS_METHODPR(T, SetVertex, (i32, const Vector2&), void), AS_CALL_THISCALL);
|
|
|
@@ -24355,8 +24357,8 @@ template <class T> void RegisterMembers_CollisionPolygon2D(asIScriptEngine* engi
|
|
|
// void CollisionPolygon2D::SetVertices(const Vector<Vector2>& vertices)
|
|
|
engine->RegisterObjectMethod(className, "void SetVertices(Array<Vector2>@+)", AS_FUNCTION_OBJFIRST(CollisionPolygon2D_void_SetVertices_constspVectorlesVector2greamp_template<CollisionPolygon2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
- // void CollisionPolygon2D::SetVerticesAttr(const Vector<u8>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetVerticesAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(CollisionPolygon2D_void_SetVerticesAttr_constspVectorlesu8greamp_template<CollisionPolygon2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void CollisionPolygon2D::SetVerticesAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetVerticesAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(CollisionPolygon2D_void_SetVerticesAttr_constspVectorlesbytegreamp_template<CollisionPolygon2D>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
#ifdef REGISTER_MEMBERS_MANUAL_PART_CollisionPolygon2D
|
|
|
REGISTER_MEMBERS_MANUAL_PART_CollisionPolygon2D();
|
|
|
@@ -24996,11 +24998,11 @@ template <class T> CScriptArray* AnimatedModel_constspVectorlesModelMorphgreamp_
|
|
|
return VectorToArray(result, "Array<ModelMorph>");
|
|
|
}
|
|
|
|
|
|
-// const Vector<unsigned char>& AnimatedModel::GetMorphsAttr() const
|
|
|
-template <class T> CScriptArray* AnimatedModel_constspVectorlesunsignedspchargreamp_GetMorphsAttr_void_template(T* _ptr)
|
|
|
+// const Vector<byte>& AnimatedModel::GetMorphsAttr() const
|
|
|
+template <class T> CScriptArray* AnimatedModel_constspVectorlesbytegreamp_GetMorphsAttr_void_template(T* _ptr)
|
|
|
{
|
|
|
- const Vector<unsigned char>& result = _ptr->GetMorphsAttr();
|
|
|
- return VectorToArray(result, "Array<uint8>");
|
|
|
+ const Vector<byte>& result = _ptr->GetMorphsAttr();
|
|
|
+ return VectorToArray(result, "Array<byte>");
|
|
|
}
|
|
|
|
|
|
// const Vector<SharedPtr<VertexBuffer>>& AnimatedModel::GetMorphVertexBuffers() const
|
|
|
@@ -25010,10 +25012,10 @@ template <class T> CScriptArray* AnimatedModel_constspVectorlesSharedPtrlesVerte
|
|
|
return VectorToHandleArray(result, "Array<VertexBuffer@>");
|
|
|
}
|
|
|
|
|
|
-// void AnimatedModel::SetMorphsAttr(const Vector<unsigned char>& value)
|
|
|
-template <class T> void AnimatedModel_void_SetMorphsAttr_constspVectorlesunsignedspchargreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
+// void AnimatedModel::SetMorphsAttr(const Vector<byte>& value)
|
|
|
+template <class T> void AnimatedModel_void_SetMorphsAttr_constspVectorlesbytegreamp_template(T* _ptr, CScriptArray* value_conv)
|
|
|
{
|
|
|
- Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
|
|
|
+ Vector<byte> value = ArrayToVector<byte>(value_conv);
|
|
|
_ptr->SetMorphsAttr(value);
|
|
|
}
|
|
|
|
|
|
@@ -25064,8 +25066,8 @@ template <class T> void RegisterMembers_AnimatedModel(asIScriptEngine* engine, c
|
|
|
// const Vector<ModelMorph>& AnimatedModel::GetMorphs() const
|
|
|
engine->RegisterObjectMethod(className, "Array<ModelMorph>@ GetMorphs() const", AS_FUNCTION_OBJFIRST(AnimatedModel_constspVectorlesModelMorphgreamp_GetMorphs_void_template<AnimatedModel>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
- // const Vector<unsigned char>& AnimatedModel::GetMorphsAttr() const
|
|
|
- engine->RegisterObjectMethod(className, "Array<uint8>@ GetMorphsAttr() const", AS_FUNCTION_OBJFIRST(AnimatedModel_constspVectorlesunsignedspchargreamp_GetMorphsAttr_void_template<AnimatedModel>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // const Vector<byte>& AnimatedModel::GetMorphsAttr() const
|
|
|
+ engine->RegisterObjectMethod(className, "Array<byte>@ GetMorphsAttr() const", AS_FUNCTION_OBJFIRST(AnimatedModel_constspVectorlesbytegreamp_GetMorphsAttr_void_template<AnimatedModel>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// const Vector<SharedPtr<VertexBuffer>>& AnimatedModel::GetMorphVertexBuffers() const
|
|
|
engine->RegisterObjectMethod(className, "Array<VertexBuffer@>@ GetMorphVertexBuffers() const", AS_FUNCTION_OBJFIRST(AnimatedModel_constspVectorlesSharedPtrlesVertexBuffergregreamp_GetMorphVertexBuffers_void_template<AnimatedModel>), AS_CALL_CDECL_OBJFIRST);
|
|
|
@@ -25127,8 +25129,8 @@ template <class T> void RegisterMembers_AnimatedModel(asIScriptEngine* engine, c
|
|
|
// void AnimatedModel::SetModel(Model* model, bool createBones = true)
|
|
|
engine->RegisterObjectMethod(className, "void SetModel(Model@+, bool = true)", AS_METHODPR(T, SetModel, (Model*, bool), void), AS_CALL_THISCALL);
|
|
|
|
|
|
- // void AnimatedModel::SetMorphsAttr(const Vector<unsigned char>& value)
|
|
|
- engine->RegisterObjectMethod(className, "void SetMorphsAttr(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(AnimatedModel_void_SetMorphsAttr_constspVectorlesunsignedspchargreamp_template<AnimatedModel>), AS_CALL_CDECL_OBJFIRST);
|
|
|
+ // void AnimatedModel::SetMorphsAttr(const Vector<byte>& value)
|
|
|
+ engine->RegisterObjectMethod(className, "void SetMorphsAttr(Array<byte>@+)", AS_FUNCTION_OBJFIRST(AnimatedModel_void_SetMorphsAttr_constspVectorlesbytegreamp_template<AnimatedModel>), AS_CALL_CDECL_OBJFIRST);
|
|
|
|
|
|
// void AnimatedModel::SetMorphWeight(unsigned index, float weight)
|
|
|
engine->RegisterObjectMethod(className, "void SetMorphWeight(uint, float)", AS_METHODPR(T, SetMorphWeight, (unsigned, float), void), AS_CALL_THISCALL);
|