Protocols/OSCAR/Foodgroups/OSERVICE/Datatypes/USERINFO

From NINA Wiki
Revision as of 06:49, 22 March 2020 by AD (talk | contribs) (Created page with "{{Protocols/OSCAR}} Due to the common nature and detailed information for the USERINFO datatype, it was separated here. It largely is in use within the Protocols/OSCAR/Food...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
OSCAR Protocol
IntroductionTermsClients
Basic
DatatypesFLAPSNACTLV
UUIDsErrorsTool IDs
Host Interaction
Rate LimitsMigrationMessages
Other Services
ADMINADVERTALERT
BARTBOSBUCPCHAT
CHAT_NAV
Tutorials
Sign OnBARTRendezvous
ICBMLocateBuddies
Foodgroups
OSERVICE (0x0001)
LOCATE (0x0002)
BUDDY (0x0003)
ICBM (0x0004)
ADVERT (0x0005)
INVITE (0x0006)
ADMIN (0x0007)
POPUP (0x0008)
PD (0x0009)
USER_LOOKUP (0x000A)
STATS (0x000B)
TRANSLATE (0x000C)
CHAT_NAV (0x000D)
CHAT (0x000E)
ODIR (0x000F)
BART (0x0010)
FEEDBAG (0x0013)
ICQ (0x0015)
BUCP (0x0017)
ALERT (0x0018)
PLUGIN (0x0022)
UNNAMED_FG_24 (0x0024)
MDIR (0x0025)
ARS (0x044A)


Due to the common nature and detailed information for the USERINFO datatype, it was separated here. It largely is in use within the OSERVICE foodgroup.

Usages

Class: OSERVICE__USER_FLAGS

Bits specifying a user's characteristics; For compatibility reasons the lower 2 bytes of USER_FLAGS are sent in the USER_FLAGS tag, while the upper bytes are sent in the USER_FLAGS2 tag. To form the full user flags the client needs to combine USER_FLAGS and USER_FLAGS2 shifted to the left 2 bytes. USER_FLAGS is always a uint16 (word), which USER_FLAGS2 can be any size. Another way to express the math: userFlags = USER_FLAG | (USER_FLAGS2 << 0x10)

Name Value Notes
OSERVICE__USER_FLAG_DAMNED_TRANSIENT 0x0001 Unconfirmed account
OSERVICE__USER_FLAG_ADMINISTRATOR 0x0002 NINA Administrator
OSERVICE__USER_FLAG_AOL 0x0004 User is on an AOL client
OSERVICE__USER_FLAG_OSCAR_PAY 0x0008 NINA commercial account
OSERVICE__USER_FLAG_OSCAR_FREE 0x0010 NINA free account, typically AIM
OSERVICE__USER_FLAG_UNAVAILABLE 0x0020 User is away
OSERVICE__USER_FLAG_ICQ 0x0040 ICQ user; AIM bit will also be set
OSERVICE__USER_FLAG_WIRELESS 0x0080 On a mobile device
OSERVICE__USER_FLAG_INTERNAL 0x0100 Account for internal use
OSERVICE__USER_FLAG_FISH 0x0200 Using IM Forwarding
OSERVICE__USER_FLAG_BOT 0x0400 Bot user
OSERVICE__USER_FLAG_BEAST 0x0800 NOT CURRENTLY DOCUMENTED
OSERVICE__USER_FLAG_ONE_WAY_WIRELESS 0x1000 One way wireless device
OSERVICE__USER_FLAG_OFFICIAL 0x2000 NOT CURRENTLY DOCUMENTED
OSERVICE__USER_FLAG_BUDDY_MATCH_DIRECT 0x10000 NOT CURRENTLY DOCUMENTED
OSERVICE__USER_FLAG_BUDDY_MATCH_INDIRECT 0x20000 NOT CURRENTLY DOCUMENTED
OSERVICE__USER_FLAG_NO_KNOCK_KNOCK 0x00040000 Do not display the "not on your Buddy List" knock-knock as the server took care of it or the sender is trusted
FORWARD_MOBILE 0x00080000 If no active instances forward to mobile