Ticket #8 (closed enhancement: fixed)
Flags for obby::user
| Reported by: | armin | Owned by: | armin |
|---|---|---|---|
| Priority: | low | Milestone: | libobby 0.2.0 |
| Component: | libobby | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Launchpad Bug: |
Description
Extend obby::user with a 'flags' field. The idea behind is to introduce a flag like obby::user::connected which specifies if this user is currently connected to the obby session. We would not need the user_table classes any longer and resolve the confusion of obby::user vs. obby::user_table::user.
However, this feature _is_ dangerous because many code would have to be adjusted to ignore non-connected user. Maybe we can provide two iterators: user_iterator and connected_user_iterator or something. Or user_iterator::step(user::flags).
We should think and discuss about this before doing anything.
Change History
Note: See
TracTickets for help on using
tickets.
