CRecipientFilter
Struct CRecipientFilter
Namespace: SwiftlyS2.Shared.Natives
Assembly: SwiftlyS2.CS2.dll
public struct CRecipientFilterInherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Constructors
CRecipientFilter(NetChannelBufType_t, bool)
public CRecipientFilter(NetChannelBufType_t BufType = NetChannelBufType_t.BUF_RELIABLE, bool bInitMessage = false)Parameters
- BufType NetChannelBufType_t
- bInitMessage bool
Fields
BufferType
public NetChannelBufType_t BufferTypeField Value
DisabledPrediction
public bool DisabledPredictionField Value
InitMessage
public bool InitMessageField Value
PredictedSlot
public int PredictedSlotField Value
RecipientsMask
public ulong RecipientsMaskField Value
Methods
AddAllPlayers()
public void AddAllPlayers()AddRecipient(int)
public void AddRecipient(int playerid)Parameters
- playerid int
FromMask(ulong)
public static CRecipientFilter FromMask(ulong playerMask)Parameters
- playerMask ulong
Returns
FromPlayers(params int[])
public static CRecipientFilter FromPlayers(params int[] players)Parameters
- players int[]
Returns
FromSingle(int)
public static CRecipientFilter FromSingle(int player)Parameters
- player int
Returns
GetRecipientCount()
public int GetRecipientCount()Returns
GetRecipients()
public IEnumerable<int> GetRecipients()Returns
RemoveAllPlayers()
public void RemoveAllPlayers()RemoveRecipient(int)
public void RemoveRecipient(int playerid)Parameters
- playerid int
ToMask()
public ulong ToMask()Returns