| 20 | } |
| 21 | |
| 22 | bool AuthSession::MakeOffline(QString offline_playername) |
| 23 | { |
| 24 | if (status != PlayableOffline && status != PlayableOnline) |
| 25 | { |
| 26 | return false; |
| 27 | } |
| 28 | session = "-"; |
| 29 | player_name = offline_playername; |
| 30 | status = PlayableOffline; |
| 31 | return true; |
| 32 | } |
| 33 | |
| 34 | void AuthSession::MakeDemo() { |
| 35 | player_name = "Player"; |