mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 08:25:09 +01:00
stage as a /internal/system
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"encoding/hex"
|
||||
"erupe-ce/config"
|
||||
"erupe-ce/internal/constant"
|
||||
"erupe-ce/internal/system"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/network/binpacket"
|
||||
"erupe-ce/network/mhfpacket"
|
||||
@@ -36,10 +37,10 @@ type Session struct {
|
||||
|
||||
objectIndex uint16
|
||||
userEnteredStage bool // If the user has entered a stage before
|
||||
stage *Stage
|
||||
reservationStage *Stage // Required for the stateful MsgSysUnreserveStage packet.
|
||||
stagePass string // Temporary storage
|
||||
prevGuildID uint32 // Stores the last GuildID used in InfoGuild
|
||||
stage *system.Stage
|
||||
reservationStage *system.Stage // Required for the stateful MsgSysUnreserveStage packet.
|
||||
stagePass string // Temporary storage
|
||||
prevGuildID uint32 // Stores the last GuildID used in InfoGuild
|
||||
CharID uint32
|
||||
logKey []byte
|
||||
sessionStart int64
|
||||
@@ -371,3 +372,9 @@ func (s *Session) DoAckSimpleFail(ackHandle uint32, data []byte) {
|
||||
AckData: data,
|
||||
})
|
||||
}
|
||||
func (s *Session) GetCharID() uint32 {
|
||||
return s.CharID // Assuming `Session` has a field `CharID`
|
||||
}
|
||||
func (s *Session) GetName() string {
|
||||
return s.Name // Assuming `Session` has a field `CharID`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user