Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Returns the character's screenwidth.
- def screenwidth(self):
- try:
- return self.account.sessions.get()[0].protocol_flags.get("SCREENWIDTH", {0: _DefaultScreenWidth})[0]
- except:
- return _DefaultScreenWidth
Advertisement
Add Comment
Please, Sign In to add comment