mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-27 01:53:19 +01:00
docs: add doc.go files and godoc comments to all packages
Add package-level documentation (doc.go) to all 22 first-party packages and godoc comments to ~150 previously undocumented exported symbols across common/, network/, and server/.
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// TournamentInfo0 represents tournament information (type 0).
|
||||
type TournamentInfo0 struct {
|
||||
ID uint32
|
||||
MaxPlayers uint32
|
||||
@@ -28,6 +29,7 @@ type TournamentInfo0 struct {
|
||||
Unk6 string
|
||||
}
|
||||
|
||||
// TournamentInfo21 represents tournament information (type 21).
|
||||
type TournamentInfo21 struct {
|
||||
Unk0 uint32
|
||||
Unk1 uint32
|
||||
@@ -35,6 +37,7 @@ type TournamentInfo21 struct {
|
||||
Unk3 uint8
|
||||
}
|
||||
|
||||
// TournamentInfo22 represents tournament information (type 22).
|
||||
type TournamentInfo22 struct {
|
||||
Unk0 uint32
|
||||
Unk1 uint32
|
||||
@@ -110,6 +113,7 @@ func handleMsgMhfEntryTournament(s *Session, p mhfpacket.MHFPacket) {
|
||||
doAckSimpleSucceed(s, pkt.AckHandle, make([]byte, 4))
|
||||
}
|
||||
|
||||
// TournamentReward represents a tournament reward entry.
|
||||
type TournamentReward struct {
|
||||
Unk0 uint16
|
||||
Unk1 uint16
|
||||
|
||||
Reference in New Issue
Block a user