-
Notifications
You must be signed in to change notification settings - Fork 285
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
1 parent
c5ffdde
commit 5b33eba
Showing
5 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
14 changes: 14 additions & 0 deletions
14
Lagrange.Core/Internal/Event/System/FetchFriendRequestsEvent.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,14 @@ | ||
namespace Lagrange.Core.Internal.Event.System; | ||
|
||
internal class FetchFriendRequestsEvent : ProtocolEvent | ||
{ | ||
private FetchFriendRequestsEvent() : base(true) | ||
{ | ||
} | ||
|
||
private FetchFriendRequestsEvent(int resultCode) : base(resultCode) | ||
{ | ||
} | ||
|
||
public static FetchFriendRequestsEvent Create() => new(); | ||
} |
29 changes: 29 additions & 0 deletions
29
Lagrange.Core/Internal/Packets/Service/Oidb/Request/OidbSvcTrpcTcp0x5CF_11.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,29 @@ | ||
using ProtoBuf; | ||
|
||
#pragma warning disable CS8618 | ||
// ReSharper disable InconsistentNaming | ||
|
||
namespace Lagrange.Core.Internal.Packets.Service.Oidb.Request; | ||
|
||
[ProtoContract] | ||
[OidbSvcTrpcTcp(0x5CF, 11)] | ||
internal class OidbSvcTrpcTcp0x5CF_11 | ||
{ | ||
[ProtoMember(1)] public int Field1 { get; set; } // 1 | ||
|
||
[ProtoMember(3)] public int Field3 { get; set; } // 6 | ||
|
||
[ProtoMember(4)] public string SelfUid { get; set; } | ||
|
||
[ProtoMember(5)] public int Field5 { get; set; } // 0 | ||
|
||
[ProtoMember(6)] public int Field6 { get; set; } // 80 | ||
|
||
[ProtoMember(8)] public int Field8 { get; set; } // 2 | ||
|
||
[ProtoMember(9)] public int Field9 { get; set; } // 0 | ||
|
||
[ProtoMember(12)] public int Field12 { get; set; } // 1 | ||
|
||
[ProtoMember(22)] public int Field22 { get; set; } // 1 | ||
} |