File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
WowPacketParserModule.V10_0_0_46181/Parsers Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ using WowPacketParser . Enums ;
2+ using WowPacketParser . Misc ;
3+ using WowPacketParser . Parsing ;
4+
5+ namespace WowPacketParserModule . V10_0_0_46181 . Parsers
6+ {
7+ public static class SessionHandler
8+ {
9+ [ Parser ( Opcode . SMSG_SET_TIME_ZONE_INFORMATION ) ]
10+ public static void HandleSetTimeZoneInformation ( Packet packet )
11+ {
12+ var gameTimeTZLength = packet . ReadBits ( 7 ) ;
13+ var serverTimeTZLength = packet . ReadBits ( 7 ) ;
14+ var serverRegionalTimeTZLength = packet . ReadBits ( 7 ) ;
15+
16+ packet . ReadWoWString ( "GameTimeTZ" , gameTimeTZLength ) ;
17+ packet . ReadWoWString ( "ServerTimeTZ" , serverTimeTZLength ) ;
18+ packet . ReadWoWString ( "ServerRegionalTimeTZ" , serverRegionalTimeTZLength ) ;
19+ }
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments