Unreal.js-core icon indicating copy to clipboard operation
Unreal.js-core copied to clipboard

Wrong type definitions for Number properties in UE5

Open hiperbou opened this issue 2 years ago • 1 comments

I am using Unreal 5.0.1 and Unreal.js plugin from the marketplace (version 0.6.1) I noticed that some type definitions are lost for numeric values, for instance:

declare class Rotator { 
	Pitch: any;
	Yaw: any;
	Roll: any;

declare class Vector { 
	X: any;
	Y: any;
	Z: any;

declare class Vector4 { 
	X: any;
	Y: any;
	Z: any;
	W: any;

Other classes seem to be generated correctly

declare class Vector2f { 
	X: number;
	Y: number;

declare class Vector3f { 
	X: number;
	Y: number;
	Z: number;

hiperbou avatar May 28 '22 15:05 hiperbou

fixed. https://github.com/ncsoft/Unreal.js-core/commit/63176dd5cf81d6d05a806c0b16eeed9bf85c9eec

crocuis avatar Jun 16 '22 00:06 crocuis