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.
파일 보기 프로젝트 열기: fragmer/fCraft

공개 메소드들

메소드 설명
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