Skip to content

Commit

Permalink
Merge pull request #8 from DivineDragonFanClub/dead-combat-functions
Browse files Browse the repository at this point in the history
add dead combat functions
  • Loading branch information
DogeThis authored Jul 5, 2024
2 parents 3c11ec2 + a7e0026 commit c91343c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "engage"
version = "0.6.2"
version = "0.6.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
12 changes: 12 additions & 0 deletions src/combat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@ pub fn runtimeanimutil_is_guard(hash: i32, method_info: OptionalMethod) -> bool;
#[unity::from_offset("Combat", "Phase", "get_IsCritical")]
pub fn phase_get_is_critical(this: &Phase, method_info: OptionalMethod) -> bool;

//Combat.Phase$$IsDeadSomeone 7101f2abe0 bool Combat.Phase$$IsDeadSomeone(Combat_Phase_o * __this, MethodInfo * method) 136
#[unity::from_offset("Combat", "Phase", "IsDeadSomeone")]
pub fn phase_is_dead_someone(this: &Phase, method_info: OptionalMethod) -> bool;

//Combat.Phase$$IsDeadDamager 7101f2ad80 bool Combat.Phase$$IsDeadDamager(Combat_Phase_o * __this, MethodInfo * method) 136
#[unity::from_offset("Combat", "Phase", "IsDeadDamager")]
pub fn phase_is_dead_damager(this: &Phase, method_info: OptionalMethod) -> bool;

//Combat.Phase$$IsDead 7101f2ad10 bool Combat.Phase$$IsDead(Combat_Phase_o * __this, int32_t side, MethodInfo * method) 108
#[unity::from_offset("Combat", "Phase", "IsDead")]
pub fn phase_is_dead(this: &Phase, side: i32, method_info: OptionalMethod) -> bool;

// Combat.Character$$get_Phase 7102afcb70 Combat_Phase_o * Combat.Character$$get_Phase(Combat_Character_o * __this, MethodInfo * method) 336
#[unity::from_offset("Combat", "Character", "get_Phase")]
pub fn character_get_phase(
Expand Down

0 comments on commit c91343c

Please sign in to comment.