Skip to content

[Core & Milky] Implement GroupFileEntity and file Segment#65

Merged
Wesley-Young merged 3 commits into
mainfrom
group-file-entity
Sep 20, 2025
Merged

[Core & Milky] Implement GroupFileEntity and file Segment#65
Wesley-Young merged 3 commits into
mainfrom
group-file-entity

Conversation

@Wesley-Young
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings September 19, 2025 07:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements support for group file messages by adding a GroupFileEntity in the Core library and corresponding FileIncomingSegment in the Milky library. The implementation includes protobuf message definitions for parsing group file data and conversion logic to handle file segments.

  • Added GroupFileEntity class to handle group file message parsing and representation
  • Implemented FileIncomingSegment for the Milky API with JSON serialization support
  • Added protobuf definitions for parsing group file metadata from message elements

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Lagrange.Core/Message/Entities/GroupFileEntity.cs New entity class for group file messages with parsing logic
Lagrange.Core/Internal/Packets/Message/Extra.cs Added protobuf classes for group file metadata structure
Lagrange.Core/Internal/Packets/Message/Elem.cs Added TransElem protobuf class for element parsing
Lagrange.Milky/Entity/Segment/FileSegment.cs New file segment classes for API representation
Lagrange.Milky/Utility/EntityConvert.Segment.cs Added conversion from GroupFileEntity to FileIncomingSegment

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread Lagrange.Core/Message/Entities/GroupFileEntity.cs
Comment thread Lagrange.Core/Message/Entities/GroupFileEntity.cs
Comment thread Lagrange.Milky/Utility/EntityConvert.Segment.cs
@Wesley-Young Wesley-Young merged commit cd88b8f into main Sep 20, 2025
9 checks passed
@Wesley-Young Wesley-Young deleted the group-file-entity branch September 20, 2025 05:05
Bemly pushed a commit to Bemly/CharonAnchor that referenced this pull request May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants