降低语法版本
This commit is contained in:
@@ -109,8 +109,8 @@ namespace BarrageGrab
|
|||||||
|
|
||||||
var buff = rsp.Content.ReadAsByteArrayAsync();
|
var buff = rsp.Content.ReadAsByteArrayAsync();
|
||||||
var result = Encoding.UTF8.GetString(buff.Result);
|
var result = Encoding.UTF8.GetString(buff.Result);
|
||||||
|
RoomInfo dto;
|
||||||
var res = RoomInfo.TryParseRoomEnterResponse(result, out var dto);
|
var res = RoomInfo.TryParseRoomEnterResponse(result, out dto);
|
||||||
int code = res.Item1;
|
int code = res.Item1;
|
||||||
string msg = res.Item2;
|
string msg = res.Item2;
|
||||||
if (code == 0)
|
if (code == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user