swiftlys2/docs/api/ai/
API Reference Natives

CRecipientFilter

Struct
Namespace: SwiftlyS2.Shared.Natives · Assembly: SwiftlyS2.CS2.dll
public struct CRecipientFilter
View source

Constructors

CRecipientFilter()

public CRecipientFilter()

CRecipientFilter(NetChannelBufType_t, bool)

public CRecipientFilter(NetChannelBufType_t BufType = NetChannelBufType_t.BUF_RELIABLE, bool bInitMessage = false)
Parameters

Methods

AddAllPlayers()

public void AddAllPlayers()

AddRecipient(int)

public void AddRecipient(int playerid)
Parameters

FromMask(ulong)

public static CRecipientFilter FromMask(ulong playerMask)
Parameters

FromPlayers(params int[])

public static CRecipientFilter FromPlayers(params int[] players)
Parameters

FromPlayers(params IPlayer[])

public static CRecipientFilter FromPlayers(params IPlayer[] players)
Parameters

FromPlayers(IEnumerable<IPlayer>)

public static CRecipientFilter FromPlayers(IEnumerable<IPlayer> players)
Parameters

FromSingle(int)

public static CRecipientFilter FromSingle(int player)
Parameters

GetRecipientCount()

public int GetRecipientCount()
Returns

GetRecipients()

public IEnumerable<int> GetRecipients()

RemoveAllPlayers()

public void RemoveAllPlayers()

RemoveRecipient(int)

public void RemoveRecipient(int playerid)
Parameters

ToMask()

public ulong ToMask()
Returns

Fields

BufferType

public NetChannelBufType_t BufferType

DisabledPrediction

public bool DisabledPrediction
Field Value

InitMessage

public bool InitMessage
Field Value

PredictedSlot

public int PredictedSlot
Field Value

RecipientsMask

public ulong RecipientsMask
Field Value