@@ -4163,6 +4163,9 @@ fn get_array_element_type_name(module: &ModuleDef, elem: &AlgebraicTypeUse) -> S
41634163 AlgebraicTypeUse :: Timestamp => "Timestamp" . to_string ( ) ,
41644164 AlgebraicTypeUse :: TimeDuration => "TimeDuration" . to_string ( ) ,
41654165 AlgebraicTypeUse :: Uuid => "Uuid" . to_string ( ) ,
4166+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
4167+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
4168+ }
41664169 AlgebraicTypeUse :: ScheduleAt => "ScheduleAt" . to_string ( ) ,
41674170 AlgebraicTypeUse :: Ref ( r) => type_ref_name ( module, * r) ,
41684171 AlgebraicTypeUse :: Option ( nested_inner) => {
@@ -4203,6 +4206,9 @@ fn get_optional_type_name(module: &ModuleDef, inner: &AlgebraicTypeUse) -> Strin
42034206 AlgebraicTypeUse :: Timestamp => "OptionalTimestamp" . to_string ( ) ,
42044207 AlgebraicTypeUse :: TimeDuration => "OptionalTimeDuration" . to_string ( ) ,
42054208 AlgebraicTypeUse :: Uuid => "OptionalUuid" . to_string ( ) ,
4209+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
4210+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
4211+ }
42064212 AlgebraicTypeUse :: ScheduleAt => "OptionalScheduleAt" . to_string ( ) ,
42074213 AlgebraicTypeUse :: Array ( elem) => {
42084214 // Generate specific optional array types based on element type
@@ -4523,6 +4529,9 @@ fn get_type_name_for_result(module: &ModuleDef, ty: &AlgebraicTypeUse) -> String
45234529 AlgebraicTypeUse :: TimeDuration => "TimeDuration" . to_string ( ) ,
45244530 AlgebraicTypeUse :: ScheduleAt => "ScheduleAt" . to_string ( ) ,
45254531 AlgebraicTypeUse :: Uuid => "Uuid" . to_string ( ) ,
4532+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
4533+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
4534+ }
45264535 AlgebraicTypeUse :: Unit => "Unit" . to_string ( ) ,
45274536 AlgebraicTypeUse :: Array ( elem) => {
45284537 // Generate specific array types based on element type
@@ -4918,6 +4927,9 @@ fn should_pass_by_value_in_delegate(_module: &ModuleDef, ty: &AlgebraicTypeUse)
49184927 AlgebraicTypeUse :: Timestamp => false , // FSpacetimeDBTimestamp is a USTRUCT
49194928 AlgebraicTypeUse :: TimeDuration => false , // FSpacetimeDBTimeDuration is a USTRUCT
49204929 AlgebraicTypeUse :: Uuid => false , // FSpacetimeDBUuid is a USTRUCT
4930+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
4931+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
4932+ }
49214933 // Custom structs/enums use const references
49224934 AlgebraicTypeUse :: Ref ( _) => false ,
49234935 AlgebraicTypeUse :: Array ( _) => false , // Arrays use const references
@@ -4961,6 +4973,9 @@ fn is_blueprintable(module: &ModuleDef, ty: &AlgebraicTypeUse) -> bool {
49614973 AlgebraicTypeUse :: Timestamp => true ,
49624974 AlgebraicTypeUse :: TimeDuration => true ,
49634975 AlgebraicTypeUse :: Uuid => true ,
4976+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
4977+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
4978+ }
49644979 AlgebraicTypeUse :: ScheduleAt => true , // ScheduleAt is blueprintable as a property (TObjectPtr)
49654980 AlgebraicTypeUse :: Unit => true ,
49664981 AlgebraicTypeUse :: Ref ( r) => {
@@ -5000,6 +5015,9 @@ fn is_type_blueprintable_for_delegates(module: &ModuleDef, ty: &AlgebraicTypeUse
50005015 AlgebraicTypeUse :: Timestamp => true ,
50015016 AlgebraicTypeUse :: TimeDuration => true ,
50025017 AlgebraicTypeUse :: Uuid => true ,
5018+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
5019+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
5020+ }
50035021 AlgebraicTypeUse :: ScheduleAt => true ,
50045022 AlgebraicTypeUse :: Unit => true ,
50055023 AlgebraicTypeUse :: Ref ( r) => {
@@ -5428,6 +5446,9 @@ fn cpp_ty_fmt_impl<'a>(
54285446 AlgebraicTypeUse :: Timestamp => f. write_str ( "FSpacetimeDBTimestamp" ) ,
54295447 AlgebraicTypeUse :: TimeDuration => f. write_str ( "FSpacetimeDBTimeDuration" ) ,
54305448 AlgebraicTypeUse :: Uuid => f. write_str ( "FSpacetimeDBUuid" ) ,
5449+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
5450+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
5451+ }
54315452 AlgebraicTypeUse :: ScheduleAt => f. write_str ( "FSpacetimeDBScheduleAt" ) ,
54325453 AlgebraicTypeUse :: Unit => f. write_str ( "FSpacetimeDBUnit" ) ,
54335454
@@ -5497,6 +5518,9 @@ fn cpp_ty_init_fmt_impl(module: &ModuleDef, ty: &AlgebraicTypeUse) -> String {
54975518 AlgebraicTypeUse :: TimeDuration => String :: new ( ) ,
54985519 AlgebraicTypeUse :: ScheduleAt => String :: new ( ) ,
54995520 AlgebraicTypeUse :: Uuid => String :: new ( ) ,
5521+ AlgebraicTypeUse :: HttpRequestAndBody | AlgebraicTypeUse :: HttpResponseAndBody => {
5522+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
5523+ }
55005524 AlgebraicTypeUse :: Unit => String :: new ( ) ,
55015525 // --------- references to user-defined types ---------
55025526 AlgebraicTypeUse :: Ref ( r) => {
@@ -5560,6 +5584,9 @@ fn collect_includes_for_type(module: &ModuleDef, ty: &AlgebraicTypeUse, out: &mu
55605584 Identity | ConnectionId | Timestamp | TimeDuration | ScheduleAt | Uuid => {
55615585 out. insert ( "Types/Builtins.h" . to_string ( ) ) ;
55625586 }
5587+ HttpRequestAndBody | HttpResponseAndBody => {
5588+ unimplemented ! ( "Http request/response types are not supported in Unreal output" )
5589+ }
55635590 // Large integer primitives also need Builtins.h (for LargeIntegers.h)
55645591 Primitive ( PrimitiveType :: I128 )
55655592 | Primitive ( PrimitiveType :: U128 )
0 commit comments