Skip to content

Commit

Permalink
feat: IC-137 - added event to identify current tentacli (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-ivanuzzo authored Sep 2, 2024
1 parent f9bd130 commit e636c09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sha-1 = { version = "0.9.8", optional = true }
tentacli-crypto = "0.1.0"
tentacli-formatters = "0.1.0"
tentacli-packet = "7.0.0"
tentacli-traits = "8.0.2"
tentacli-traits = "8.0.3"
tentacli-utils = "2.1.0"
tokio = { version = "1", features = ["sync", "net", "io-util", "macros", "time", "rt-multi-thread"] }
#tokio-util = { version = "0.7.10", features = ["io"] }
Expand Down
2 changes: 2 additions & 0 deletions src/features/wotlk_realm/player/player_login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ impl PacketHandler for Handler {
)
);

response.push(HandlerOutput::IdentifyMe(my_guid));

Ok(response)
}
}
2 changes: 1 addition & 1 deletion src/primary/traits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tentacli-traits"
version = "8.0.2"
version = "8.0.3"
edition = "2021"
authors = ["Sergio Ivanuzzo <[email protected]>"]
description = "Traits and types for tentacli and related projects"
Expand Down
1 change: 1 addition & 0 deletions src/primary/traits/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ pub enum HandlerOutput {
Data((u32, Vec<u8>, String)),
TransferCharactersList(Vec<Player>),
TransferRealmsList(Vec<Realm>),
IdentifyMe(u64),

// commands
ConnectionRequest(String, u16),
Expand Down

0 comments on commit e636c09

Please sign in to comment.