包含在名称空间里面的枚举无法生成.d.ts定位
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6.2k
- Forks
- 862
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 2
Description
例如引擎下面的这个
//File \Engine\Source\Runtime\Engine\Classes\Engine\EngineTypes.h
//Line 3483
/** Describes how often this component is allowed to move. */
UENUM(BlueprintType)
namespace EComponentMobility
{
enum Type
{
/**
* Static objects cannot be moved or changed in game.
* - Allows baked lighting
* - Fastest rendering
*/
Static,
/**
* A stationary light will only have its shadowing and bounced lighting from static geometry baked by Lightmass, all other lighting will be dynamic.
* - It can change color and intensity in game.
* - Can't move
* - Allows partial baked lighting
* - Dynamic shadows
*/
Stationary,
/**
* Movable objects can be moved and changed in game.
* - Totally dynamic
* - Can cast dynamic shadows
* - Slowest rendering
*/
Movable
};
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use EngineTypes.h, especially the EComponentMobility namespace example around line 3483, as the reproduction case. Start by tracing .d.ts generation for UENUM declarations; done means the namespaced enum is represented and located correctly in the generated declaration file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, unreal-engine
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100