Nameable

Group
player
Methods
3
Fields
None

Getting one

client:getIgnoreContainer():findByName(…)

Methods

MethodReturnsDescription
getName()stringThe display name.
getPrevName()string?The previous display name, or nil.
equals(any)booleanWhether other equals this Nameable, as == answers it (false for a value of another class).

Returned by

MethodReturnsDescription
NameableContainer.findByNameNameable?The entry called name (or, failing that, once called name), or nil.
NameableContainer.getMembers{Nameable}Its entries, in the game's order. Lua arrays start at 1.
NameableNameChanged.getNameableNameableThe entry: a Friend, an Ignore or a FriendsChatMember.
RemovedFriend.getNameableNameableWho was removed: a Friend or an Ignore.

Method details

equals

equals: (Nameable, any) -> boolean

Whether other equals this Nameable, as == answers it (false for a value of another class).