C# Класс fCraft.PlayerEnumerable

Contains a set of utilities that simplify working with sets of players. All the utilities are implemented as extension methods, and it is recommended that you invoke them as extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
Message ( [ source, [ message ) : int

Broadcasts a message.

Message ( [ source, [ except, [ message ) : int

Broadcasts a message.

MessagePrefixed ( [ source, [ prefix, [ message ) : int

Broadcasts a message, prefixing wrapped lines.

Send ( [ source, Packet packet ) : int

Broadcasts a packet with normal priority.

Send ( [ source, [ except, Packet packet ) : int

Broadcasts a packet with normal priority.

SendLowPriority ( [ source, Packet packet ) : int

Broadcasts a packet with low priority.

SendLowPriority ( [ source, [ except, Packet packet ) : int

Broadcasts a packet with low priority.

Приватные методы

Метод Описание
Can ( [ source, Permission permission ) : IEnumerable
Can ( [ source, Permission permission, [ affectedRank ) : IEnumerable
CanBeSeen ( [ source, [ observer ) : IEnumerable
CanSee ( [ source, [ targetPlayer ) : IEnumerable
Cant ( [ source, Permission permission ) : IEnumerable
Cant ( [ source, Permission permission, [ affectedRank ) : IEnumerable
CantBeSeen ( [ source, [ observer ) : IEnumerable
CantSee ( [ source, [ targetPlayer ) : IEnumerable
Except ( [ source, [ excludedPlayer ) : IEnumerable
FromIP ( [ source, [ ip ) : IEnumerable
IgnoredBy ( [ source, [ ignorer ) : IEnumerable
Ignoring ( [ source, [ player ) : IEnumerable
InWorld ( [ source, [ world ) : IEnumerable
MessageAlt ( [ source, [ message ) : int
MessageWoMAlert ( [ source, [ message ) : int
NotFromIP ( [ source, [ ip ) : IEnumerable
NotIgnoredBy ( [ source, [ ignorer ) : IEnumerable
NotIgnoring ( [ source, [ player ) : IEnumerable
NotInWorld ( [ source, [ world ) : IEnumerable
NotRanked ( [ source, [ rank ) : IEnumerable
NotRanked ( this source, Rank rank ) : IEnumerable
NotSpectating ( [ source, [ player ) : IEnumerable
Ranked ( [ source, [ rank ) : IEnumerable
Ranked ( this source, Rank rank ) : IEnumerable
RankedAbove ( [ source, [ minRank ) : IEnumerable
RankedAbove ( this source, Rank minRank ) : IEnumerable
RankedAtLeast ( [ source, [ minRank ) : IEnumerable
RankedAtLeast ( this source, Rank minRank ) : IEnumerable
RankedAtMost ( [ source, [ maxRank ) : IEnumerable
RankedAtMost ( this source, Rank maxRank ) : IEnumerable
RankedBelow ( [ source, [ maxRank ) : IEnumerable
RankedBelow ( this source, Rank maxRank ) : IEnumerable
Spectating ( [ source, [ player ) : IEnumerable
Union ( [ source, [ includedPlayer ) : IEnumerable

Описание методов

Message() публичный статический Метод

Broadcasts a message.
public static Message ( [ source, [ message ) : int
source [ List of players who will receive the message.
message [ String/message to send.
Результат int

Message() публичный статический Метод

Broadcasts a message.
public static Message ( [ source, [ except, [ message ) : int
source [ List of players who will receive the message.
except [ Player to exclude from the recepient list.
message [ String/message to send.
Результат int

MessagePrefixed() публичный статический Метод

Broadcasts a message, prefixing wrapped lines.
public static MessagePrefixed ( [ source, [ prefix, [ message ) : int
source [ List of players who will receive the message.
prefix [ Prefix to prepend to prepend to each line after the 1st, /// if any line-wrapping occurs. Does NOT get prepended to first line.
message [ String/message to send.
Результат int

Send() публичный статический Метод

Broadcasts a packet with normal priority.
public static Send ( [ source, Packet packet ) : int
source [ List of players who will receive the packet.
packet Packet Packet to send.
Результат int

Send() публичный статический Метод

Broadcasts a packet with normal priority.
public static Send ( [ source, [ except, Packet packet ) : int
source [ List of players who will receive the packet.
except [ Player to exclude from the recepient list.
packet Packet Packet to send.
Результат int

SendLowPriority() публичный статический Метод

Broadcasts a packet with low priority.
public static SendLowPriority ( [ source, Packet packet ) : int
source [ List of players who will receive the packet.
packet Packet Packet to send.
Результат int

SendLowPriority() публичный статический Метод

Broadcasts a packet with low priority.
public static SendLowPriority ( [ source, [ except, Packet packet ) : int
source [ List of players who will receive the packet.
except [ Player to exclude from the recepient list.
packet Packet Packet to send.
Результат int