diff --git a/spine-c/src/generated/attachment.cpp b/spine-c/src/generated/attachment.cpp index 0ba7c162f..768ac1d83 100644 --- a/spine-c/src/generated/attachment.cpp +++ b/spine-c/src/generated/attachment.cpp @@ -22,6 +22,16 @@ spine_attachment spine_attachment_copy(spine_attachment self) { return (spine_attachment) &_self->copy(); } +/*@null*/ spine_attachment spine_attachment_get_timeline_attachment(spine_attachment self) { + Attachment *_self = (Attachment *) self; + return (spine_attachment) _self->getTimelineAttachment(); +} + +void spine_attachment_set_timeline_attachment(spine_attachment self, /*@null*/ spine_attachment attachment) { + Attachment *_self = (Attachment *) self; + _self->setTimelineAttachment((Attachment *) attachment); +} + int spine_attachment_get_ref_count(spine_attachment self) { Attachment *_self = (Attachment *) self; return _self->getRefCount(); diff --git a/spine-c/src/generated/attachment.h b/spine-c/src/generated/attachment.h index 03f54dcb4..da1475e6c 100644 --- a/spine-c/src/generated/attachment.h +++ b/spine-c/src/generated/attachment.h @@ -14,6 +14,8 @@ SPINE_C_API void spine_attachment_dispose(spine_attachment self); SPINE_C_API spine_rtti spine_attachment_get_rtti(spine_attachment self); SPINE_C_API const char *spine_attachment_get_name(spine_attachment self); SPINE_C_API spine_attachment spine_attachment_copy(spine_attachment self); +SPINE_C_API /*@null*/ spine_attachment spine_attachment_get_timeline_attachment(spine_attachment self); +SPINE_C_API void spine_attachment_set_timeline_attachment(spine_attachment self, /*@null*/ spine_attachment attachment); SPINE_C_API int spine_attachment_get_ref_count(spine_attachment self); SPINE_C_API void spine_attachment_reference(spine_attachment self); SPINE_C_API void spine_attachment_dereference(spine_attachment self); diff --git a/spine-c/src/generated/point_attachment.cpp b/spine-c/src/generated/point_attachment.cpp index 293753c79..9a389c78b 100644 --- a/spine-c/src/generated/point_attachment.cpp +++ b/spine-c/src/generated/point_attachment.cpp @@ -71,6 +71,16 @@ const char *spine_point_attachment_get_name(spine_point_attachment self) { return _self->getName().buffer(); } +/*@null*/ spine_attachment spine_point_attachment_get_timeline_attachment(spine_point_attachment self) { + PointAttachment *_self = (PointAttachment *) self; + return (spine_attachment) _self->getTimelineAttachment(); +} + +void spine_point_attachment_set_timeline_attachment(spine_point_attachment self, /*@null*/ spine_attachment attachment) { + PointAttachment *_self = (PointAttachment *) self; + _self->setTimelineAttachment((Attachment *) attachment); +} + int spine_point_attachment_get_ref_count(spine_point_attachment self) { PointAttachment *_self = (PointAttachment *) self; return _self->getRefCount(); diff --git a/spine-c/src/generated/point_attachment.h b/spine-c/src/generated/point_attachment.h index 7eb6bdf85..8750c0f69 100644 --- a/spine-c/src/generated/point_attachment.h +++ b/spine-c/src/generated/point_attachment.h @@ -25,6 +25,8 @@ SPINE_C_API void spine_point_attachment_compute_world_position(spine_point_attac SPINE_C_API float spine_point_attachment_compute_world_rotation(spine_point_attachment self, spine_bone_pose bone); SPINE_C_API spine_attachment spine_point_attachment_copy(spine_point_attachment self); SPINE_C_API const char *spine_point_attachment_get_name(spine_point_attachment self); +SPINE_C_API /*@null*/ spine_attachment spine_point_attachment_get_timeline_attachment(spine_point_attachment self); +SPINE_C_API void spine_point_attachment_set_timeline_attachment(spine_point_attachment self, /*@null*/ spine_attachment attachment); SPINE_C_API int spine_point_attachment_get_ref_count(spine_point_attachment self); SPINE_C_API void spine_point_attachment_reference(spine_point_attachment self); SPINE_C_API void spine_point_attachment_dereference(spine_point_attachment self); diff --git a/spine-c/src/generated/region_attachment.cpp b/spine-c/src/generated/region_attachment.cpp index 095ebb127..5b0a94377 100644 --- a/spine-c/src/generated/region_attachment.cpp +++ b/spine-c/src/generated/region_attachment.cpp @@ -144,6 +144,16 @@ const char *spine_region_attachment_get_name(spine_region_attachment self) { return _self->getName().buffer(); } +/*@null*/ spine_attachment spine_region_attachment_get_timeline_attachment(spine_region_attachment self) { + RegionAttachment *_self = (RegionAttachment *) self; + return (spine_attachment) _self->getTimelineAttachment(); +} + +void spine_region_attachment_set_timeline_attachment(spine_region_attachment self, /*@null*/ spine_attachment attachment) { + RegionAttachment *_self = (RegionAttachment *) self; + _self->setTimelineAttachment((Attachment *) attachment); +} + int spine_region_attachment_get_ref_count(spine_region_attachment self) { RegionAttachment *_self = (RegionAttachment *) self; return _self->getRefCount(); diff --git a/spine-c/src/generated/region_attachment.h b/spine-c/src/generated/region_attachment.h index feeddf5a1..95b4a5394 100644 --- a/spine-c/src/generated/region_attachment.h +++ b/spine-c/src/generated/region_attachment.h @@ -60,6 +60,8 @@ SPINE_C_API spine_attachment spine_region_attachment_copy(spine_region_attachmen SPINE_C_API void spine_region_attachment_compute_u_vs(/*@null*/ spine_texture_region region, float x, float y, float scaleX, float scaleY, float rotation, float width, float height, spine_array_float offset, spine_array_float uvs); SPINE_C_API const char *spine_region_attachment_get_name(spine_region_attachment self); +SPINE_C_API /*@null*/ spine_attachment spine_region_attachment_get_timeline_attachment(spine_region_attachment self); +SPINE_C_API void spine_region_attachment_set_timeline_attachment(spine_region_attachment self, /*@null*/ spine_attachment attachment); SPINE_C_API int spine_region_attachment_get_ref_count(spine_region_attachment self); SPINE_C_API void spine_region_attachment_reference(spine_region_attachment self); SPINE_C_API void spine_region_attachment_dereference(spine_region_attachment self); diff --git a/spine-c/src/generated/sequence.cpp b/spine-c/src/generated/sequence.cpp index f6a7bbe89..73a56c9ad 100644 --- a/spine-c/src/generated/sequence.cpp +++ b/spine-c/src/generated/sequence.cpp @@ -80,9 +80,9 @@ void spine_sequence_set_setup_index(spine_sequence self, int setupIndex) { _self->setSetupIndex(setupIndex); } -bool spine_sequence_get_path_suffix(spine_sequence self) { +bool spine_sequence_has_path_suffix(spine_sequence self) { Sequence *_self = (Sequence *) self; - return _self->getPathSuffix(); + return _self->hasPathSuffix(); } const char *spine_sequence_get_path(spine_sequence self, const char *basePath, int index) { diff --git a/spine-c/src/generated/sequence.h b/spine-c/src/generated/sequence.h index 8fd443c9e..80ee356e8 100644 --- a/spine-c/src/generated/sequence.h +++ b/spine-c/src/generated/sequence.h @@ -41,7 +41,7 @@ SPINE_C_API void spine_sequence_set_digits(spine_sequence self, int digits); */ SPINE_C_API int spine_sequence_get_setup_index(spine_sequence self); SPINE_C_API void spine_sequence_set_setup_index(spine_sequence self, int setupIndex); -SPINE_C_API bool spine_sequence_get_path_suffix(spine_sequence self); +SPINE_C_API bool spine_sequence_has_path_suffix(spine_sequence self); SPINE_C_API const char *spine_sequence_get_path(spine_sequence self, const char *basePath, int index); /** * Returns a unique ID for this attachment.