Skip to content

Commit eee82bf

Browse files
Ludv1gLclaude
andcommitted
Fix Unreal C++ codegen module_prefix field missing from struct
The UnrealCpp struct was missing the module_prefix field that generate.rs was trying to set, causing build failures. This adds the field and updates all usages throughout unrealcpp.rs to properly use the module prefix. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6e1435f commit eee82bf

2 files changed

Lines changed: 1261 additions & 1494 deletions

File tree

crates/cli/src/subcommands/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use std::io::Read;
2525
pub fn cli() -> clap::Command {
2626
clap::Command::new("generate")
2727
.about("Generate client files for a spacetime module.")
28-
.override_usage("spacetime generate --lang <LANG> --out-dir <DIR> [--project-path <DIR> | --bin-path <PATH> | --module-name <MODULE_NAME> | --uproject-dir <DIR> | --module-prefix <PREFIX>]")
28+
.override_usage("spacetime generate --lang <LANG> --out-dir <DIR> [--project-path <DIR> | --bin-path <PATH> | --module-name <MODULE_NAME> | --uproject-dir <DIR>]")
2929
.arg(
3030
Arg::new("wasm_file")
3131
.value_parser(clap::value_parser!(PathBuf))

0 commit comments

Comments
 (0)