initial multi-language concept

This commit is contained in:
wish
2022-11-07 00:35:45 +11:00
parent 6c3be9c32e
commit 7789424a08
5 changed files with 33 additions and 1 deletions

View File

@@ -141,6 +141,8 @@ func handleMsgSysLogin(s *Session, p mhfpacket.MHFPacket) {
s.charID = pkt.CharID0
s.token = pkt.LoginTokenString
s.Unlock()
s.dict = getLangStrings(s)
updateRights(s)
bf := byteframe.NewByteFrame()
bf.WriteUint32(uint32(Time_Current_Adjusted().Unix())) // Unix timestamp