FriendContainer

Group
player
Methods
1
Fields
None

Getting one

client:getFriendContainer()

Methods

MethodReturnsDescription
getPendingLogins(){PendingLogin}The friends' login and logout notifications the client has queued and not posted yet ("<name> has logged in." follows five seconds after th…

Returned by

MethodReturnsDescription
Client.getFriendContainerFriendContainerThe friends list.

Method details

getPendingLogins

getPendingLogins: (FriendContainer) -> {PendingLogin}

The friends' login and logout notifications the client has queued and not posted yet ("<name> has logged in." follows five seconds after the world change), oldest first: a snapshot array. To drop one, call pendingLogin:remove(): removing it from the array changes nothing in the client. A world hop's logout and login cancel each other and are not listed. Raises on a client whose table does not place the list, rather than answer an empty list.