UDP API DEV: Difference between revisions

Jump to navigation Jump to search
Line 67: Line 67:
'''Possible Replies:'''
'''Possible Replies:'''
* NNN {int2 start} {int2 end} {int2 total} BUDDY LIST
* NNN {int2 start} {int2 end} {int2 total} BUDDY LIST
: {int4 uid}|{str username}|{int2 accepted}
: {int4 uid}|{str username}|{int2 state}
: ...
: ...
'''Info:'''
* state is a 16bit bit field in integer notation (lowest bit first):
  * bit 1 = this user is in your buddylist
  * bit 2 = this user has accepted you
  * bit 3 = this user is waiting for your approval


=== BUDDYSTATE ===
=== BUDDYSTATE ===