Class ElementCollectionExtensions
Inherited Members
Namespace: SlipeServer.Server.Extensions
Assembly: SlipeServer.Server.dll
Syntax
public static class ElementCollectionExtensions
Methods
| Edit this page View SourceAssociateWith(IEnumerable<Element>, Player)
Sends packets to create a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void AssociateWith(this IEnumerable<Element> elements, Player player)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
Player | player |
AssociateWith(IEnumerable<Element>, IEnumerable<Player>)
Sends packets to create a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void AssociateWith(this IEnumerable<Element> elements, IEnumerable<Player> players)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
IEnumerable<Player> | players |
CreateFor(IEnumerable<Element>, Player)
Sends packets to create a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void CreateFor(this IEnumerable<Element> elements, Player player)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
Player | player |
CreateFor(IEnumerable<Element>, IEnumerable<Player>)
Sends packets to create a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void CreateFor(this IEnumerable<Element> elements, IEnumerable<Player> players)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
IEnumerable<Player> | players |
DestroyFor(IEnumerable<Element>, Player)
Sends packets to destroy a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void DestroyFor(this IEnumerable<Element> elements, Player player)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
Player | player |
DestroyFor(IEnumerable<Element>, IEnumerable<Player>)
Sends packets to destroy a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void DestroyFor(this IEnumerable<Element> elements, IEnumerable<Player> players)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
IEnumerable<Player> | players |
RemoveFrom(IEnumerable<Element>, Player)
Sends packets to destroy a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void RemoveFrom(this IEnumerable<Element> elements, Player player)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
Player | player |
RemoveFrom(IEnumerable<Element>, IEnumerable<Player>)
Sends packets to destroy a set of elements to a set of players Do note that elements will be required to have an id assigned for this to work properly
Declaration
public static void RemoveFrom(this IEnumerable<Element> elements, IEnumerable<Player> players)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Element> | elements | |
IEnumerable<Player> | players |