-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Implemented SetAvatar and GroupSetAvatar
- Loading branch information
1 parent
345dffa
commit 64796b5
Showing
4 changed files
with
69 additions
and
0 deletions.
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
24 changes: 24 additions & 0 deletions
24
Lagrange.Core/Internal/Packets/Service/Highway/GroupAvatarExtra.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,24 @@ | ||
using ProtoBuf; | ||
|
||
namespace Lagrange.Core.Internal.Packets.Service.Highway; | ||
#pragma warning disable CS8618 | ||
|
||
[ProtoContract] | ||
internal class GroupAvatarExtra | ||
{ | ||
[ProtoMember(1)] public uint Type { get; set; } // 101 | ||
|
||
[ProtoMember(2)] public uint GroupUin { get; set; } | ||
|
||
[ProtoMember(3)] public GroupAvatarExtraField3 Field3 { get; set; } | ||
|
||
[ProtoMember(5)] public uint Field5 { get; set; } // 3 | ||
|
||
[ProtoMember(6)] public uint Field6 { get; set; } // 1 | ||
} | ||
|
||
[ProtoContract] | ||
internal class GroupAvatarExtraField3 | ||
{ | ||
[ProtoMember(1)] public uint Field1 { get; set; } // 1 | ||
} |