add support for cids
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 4m5s
Build and Test / friends (push) Successful in 4m5s
Build and Test / wii-sports-club (push) Successful in 4m14s
Build and Test / sonic-transformed (push) Successful in 4m16s
Build and Test / wii-u-chat (push) Successful in 4m15s
Build and Test / fast-racing-neo (push) Successful in 4m21s
Build and Test / puyopuyo (push) Successful in 4m24s
Build and Test / splatoon (push) Successful in 4m23s
Build and Test / minecraft-wiiu (push) Successful in 4m29s
Build and Test / super-mario-maker (push) Successful in 5m2s
Build and Test / mario-tennis (push) Successful in 5m19s
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 4m5s
Build and Test / friends (push) Successful in 4m5s
Build and Test / wii-sports-club (push) Successful in 4m14s
Build and Test / sonic-transformed (push) Successful in 4m16s
Build and Test / wii-u-chat (push) Successful in 4m15s
Build and Test / fast-racing-neo (push) Successful in 4m21s
Build and Test / puyopuyo (push) Successful in 4m24s
Build and Test / splatoon (push) Successful in 4m23s
Build and Test / minecraft-wiiu (push) Successful in 4m29s
Build and Test / super-mario-maker (push) Successful in 5m2s
Build and Test / mario-tennis (push) Successful in 5m19s
This commit is contained in:
parent
9fc302365c
commit
962f5e2e4d
2 changed files with 6 additions and 1 deletions
|
|
@ -10,6 +10,8 @@ use rnex_core::rmc::response::ErrorCode;
|
|||
|
||||
use rnex_core::PID;
|
||||
|
||||
use crate::prudp::station_url::UrlOptions::ConnectionID;
|
||||
|
||||
pub async fn get_station_urls(
|
||||
station_urls: &[StationUrl],
|
||||
addr: PRUDPSockAddr,
|
||||
|
|
@ -89,6 +91,7 @@ pub async fn get_station_urls(
|
|||
|
||||
station.options.push(PrincipalID(pid));
|
||||
station.options.push(RVConnectionID(cid));
|
||||
station.options.push(ConnectionID(cid));
|
||||
}
|
||||
|
||||
Ok(vec![public_station])
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ pub enum UrlOptions {
|
|||
Port(u16),
|
||||
StreamType(u8),
|
||||
StreamID(u8),
|
||||
ConnectionID(u8),
|
||||
ConnectionID(u32),
|
||||
PrincipalID(rnex_core::PID),
|
||||
NatType(u8),
|
||||
NatMapping(u8),
|
||||
|
|
@ -69,6 +69,8 @@ impl StationUrl {
|
|||
"stream" => options_out.push(StreamType(option_value.parse().ok()?)),
|
||||
"RVCID" => options_out.push(RVConnectionID(option_value.parse().ok()?)),
|
||||
"rvcid" => options_out.push(RVConnectionID(option_value.parse().ok()?)),
|
||||
"CID" => options_out.push(ConnectionID(option_value.parse().ok()?)),
|
||||
"cid" => options_out.push(ConnectionID(option_value.parse().ok()?)),
|
||||
"pl" => options_out.push(Platform(option_value.parse().ok()?)),
|
||||
"pmp" => options_out.push(PMP(option_value.parse().ok()?)),
|
||||
"pid" => options_out.push(PID(option_value.parse().ok()?)),
|
||||
|
|
|
|||
Loading…
Reference in a new issue