add more 3.3.0 support
This commit is contained in:
parent
c8626564d4
commit
6daf271cbd
2 changed files with 3 additions and 2 deletions
|
|
@ -500,7 +500,7 @@ impl MatchmakeExtension for User {
|
||||||
gid: u32,
|
gid: u32,
|
||||||
message: String,
|
message: String,
|
||||||
dont_care_block_list: bool,
|
dont_care_block_list: bool,
|
||||||
participation_count: u16,
|
//participation_count: u16,
|
||||||
) -> Result<Vec<u8>, ErrorCode> {
|
) -> Result<Vec<u8>, ErrorCode> {
|
||||||
let sess = self.matchmake_manager.get_session(gid).await?;
|
let sess = self.matchmake_manager.get_session(gid).await?;
|
||||||
let mut sess = sess.lock().await;
|
let mut sess = sess.lock().await;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,8 @@ pub trait MatchmakeExtension {
|
||||||
gid: u32,
|
gid: u32,
|
||||||
message: String,
|
message: String,
|
||||||
dont_care_block_list: bool,
|
dont_care_block_list: bool,
|
||||||
participation_count: u16,
|
// this is to cheat support for v3-3-0
|
||||||
|
//participation_count: u16,
|
||||||
) -> Result<Vec<u8>, ErrorCode>;
|
) -> Result<Vec<u8>, ErrorCode>;
|
||||||
|
|
||||||
#[method_id(8)]
|
#[method_id(8)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue