Ticket #8 (closed enhancement: fixed)

Opened 8 years ago

Last modified 7 years ago

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

Changed 8 years ago by phil

  • version 0.1.0 deleted

Changed 8 years ago by armin

  • milestone set to libobby 0.2.0

Changed 8 years ago by armin

  • status changed from new to assigned

Changed 8 years ago by libobby

  • status changed from assigned to closed
  • resolution set to fixed

(In [71]) /obby: changeset Introduces flags for obby::user, moved all user stuff to user_table [fixes #8, fixes #41] Original author: Armin Burgmeier <armin@…> Date: 2005-06-07 21:23:21

Note: See TracTickets for help on using tickets.