mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-26 17:43:21 +01:00
refactor(channelserver): replace magic numbers with named protocol constants
Extract numeric literals into named constants across quest handling, save data parsing, rengoku skill layout, diva event timing, guild info, achievement trophies, RP accrual rates, and semaphore IDs. Adds constants_quest.go for quest-related constants shared across functions. Pure rename/extract with zero behavior change.
This commit is contained in:
@@ -12,8 +12,8 @@ const (
|
||||
|
||||
// Event quest binary frame offsets
|
||||
const (
|
||||
questFrameTimeFlagOffset = 25
|
||||
questFrameVariant3Offset = 175
|
||||
questFrameTimeFlagOffset = 25
|
||||
questFrameVariant3Offset = 175
|
||||
)
|
||||
|
||||
// Quest body lengths per game version
|
||||
|
||||
Reference in New Issue
Block a user