-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Linwenxuan
authored and
Linwenxuan
committed
Dec 21, 2023
1 parent
4f2acf8
commit be48091
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
Lagrange.Core/Internal/Packets/Service/Oidb/Response/OidbSvcTrpcTcp0x10C0_1Response.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
using ProtoBuf; | ||
|
||
namespace Lagrange.Core.Internal.Packets.Service.Oidb.Response; | ||
|
||
// Resharper Disable InconsistentNaming | ||
#pragma warning disable CS8618 | ||
|
||
[ProtoContract] | ||
internal class OidbSvcTrpcTcp0x10C0_1Response | ||
{ | ||
[ProtoMember(1)] public List<OidbSvcTrpcTcp0x10C0_1ResponseRequests> Requests { get; set; } | ||
|
||
[ProtoMember(2)] public ulong Field2 { get; set; } | ||
|
||
[ProtoMember(3)] public ulong NewLatestSeq { get; set; } | ||
|
||
[ProtoMember(4)] public uint Field4 { get; set; } | ||
|
||
[ProtoMember(5)] public ulong Field5 { get; set; } | ||
|
||
[ProtoMember(6)] public uint Field6 { get; set; } | ||
} | ||
|
||
[ProtoContract] | ||
internal class OidbSvcTrpcTcp0x10C0_1ResponseRequests | ||
{ | ||
[ProtoMember(1)] public ulong Sequence { get; set; } | ||
|
||
[ProtoMember(2)] public uint EventType { get; set; } // 13 for exit group, 22 for group request | ||
|
||
[ProtoMember(3)] public uint State { get; set; } // 2 for Join, 1 for waiting for action | ||
|
||
[ProtoMember(4)] public OidbSvcTrpcTcp0x10C0_1ResponseGroup Group { get; set; } | ||
|
||
[ProtoMember(5)] public OidbSvcTrpcTcp0x10C0_1ResponseUser Target { get; set; } | ||
|
||
[ProtoMember(6)] public OidbSvcTrpcTcp0x10C0_1ResponseUser Invitor { get; set; } | ||
|
||
[ProtoMember(7)] public OidbSvcTrpcTcp0x10C0_1ResponseUser Operator { get; set; } | ||
|
||
[ProtoMember(9)] public string Field9 { get; set; } | ||
} | ||
|
||
[ProtoContract] | ||
internal class OidbSvcTrpcTcp0x10C0_1ResponseGroup | ||
{ | ||
[ProtoMember(1)] public uint GroupUin { get; set; } | ||
|
||
[ProtoMember(2)] public string GroupName { get; set; } // 13 for exit group, 22 for group request | ||
} | ||
|
||
[ProtoContract] | ||
internal class OidbSvcTrpcTcp0x10C0_1ResponseUser | ||
{ | ||
[ProtoMember(1)] public string Uid { get; set; } | ||
|
||
[ProtoMember(2)] public string Name { get; set; } // 13 for exit group, 22 for group request | ||
} |
11 changes: 11 additions & 0 deletions
11
Lagrange.Core/Internal/Packets/Service/Oidb/Response/OidbSvcTrpcTcp0xFE1_2Response.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using ProtoBuf; | ||
|
||
// Resharper Disable InconsistentNaming | ||
|
||
namespace Lagrange.Core.Internal.Packets.Service.Oidb.Response; | ||
|
||
[ProtoContract] | ||
internal class OidbSvcTrpcTcp0xFE1_2Response | ||
{ | ||
[ProtoMember(3)] public uint Uin { get; set; } | ||
} |