📦 Game Update 13965 (2)

This commit is contained in:
a2x
2023-10-27 11:04:47 +10:00
parent 9a9af96afd
commit 9b1ab48d3e
77 changed files with 354 additions and 354 deletions

View File

@@ -13,7 +13,7 @@ pub trait FileBuilder {
/// * `&str` - A string slice containing the extension of the file.
fn extension(&mut self) -> &str;
/// Write to the top level of the file. The output destination is `output`.
/// Writes to the top level of the file. The output destination is `output`.
///
/// # Arguments
///
@@ -25,7 +25,7 @@ pub trait FileBuilder {
/// * `Result<()>` - A generic Result type indicating the operations outcome.
fn write_top_level(&mut self, output: &mut dyn Write) -> Result<()>;
/// Write a namespace to the output.
/// Writes a namespace to the output.
///
/// # Arguments
///
@@ -44,7 +44,7 @@ pub trait FileBuilder {
comment: Option<&str>,
) -> Result<()>;
/// Write a variable to the output.
/// Writes a variable to the output.
///
/// # Arguments
///

View File

@@ -161,7 +161,7 @@ mod tests {
.expect("Failed to find engine2.dll")
.base();
let build_number = process.read_memory::<u32>(engine_base + 0x487514)?;
let build_number = process.read_memory::<u32>(engine_base + 0x488514)?;
println!("Build number: {}", build_number);
@@ -254,8 +254,8 @@ mod tests {
.expect("Failed to find engine2.dll")
.base();
let window_width = process.read_memory::<u32>(engine_base + 0x5386A8)?;
let window_height = process.read_memory::<u32>(engine_base + 0x5386AC)?;
let window_width = process.read_memory::<u32>(engine_base + 0x5396D8)?;
let window_height = process.read_memory::<u32>(engine_base + 0x5396DC)?;
println!("Window size: {}x{}", window_width, window_height);