Class MyEntityList
Inheritance
System.Object
MyEntityList
Assembly: Sandbox.Game.dll
Syntax
public static class MyEntityList : Object
Methods
GetDescriptionText(MyEntityList.MyEntityListInfoItem)
Declaration
public static string GetDescriptionText(MyEntityList.MyEntityListInfoItem item)
Parameters
Returns
Type |
Description |
System.String |
|
GetEntityList(MyEntityList.MyEntityTypeEnum)
Declaration
public static List<MyEntityList.MyEntityListInfoItem> GetEntityList(MyEntityList.MyEntityTypeEnum selectedType)
Parameters
Returns
GetEntityList(MyEntityList.MyEntityTypeEnum, IEnumerable<MyEntity>)
Declaration
public static List<MyEntityList.MyEntityListInfoItem> GetEntityList(MyEntityList.MyEntityTypeEnum selectedType, IEnumerable<MyEntity> entities)
Parameters
Returns
Declaration
public static StringBuilder GetFormattedDisplayName(MyEntityList.MyEntitySortOrder selectedOrder, MyEntityList.MyEntityListInfoItem item)
Parameters
Returns
Type |
Description |
System.Text.StringBuilder |
|
GetPlayersMinimalDistance(MyEntity, ICollection<MyPlayer>)
Declaration
public static float GetPlayersMinimalDistance(MyEntity entity, ICollection<MyPlayer> players)
Parameters
Type |
Name |
Description |
MyEntity |
entity |
|
System.Collections.Generic.ICollection<Sandbox.Game.World.MyPlayer> |
players |
|
Returns
Type |
Description |
System.Single |
|
ProceedEntityAction(MyEntity, MyEntityList.EntityListAction)
Declaration
public static void ProceedEntityAction(MyEntity entity, MyEntityList.EntityListAction action)
Parameters
SortEntityList(MyEntityList.MyEntitySortOrder, ref List<MyEntityList.MyEntityListInfoItem>, Boolean)
Declaration
public static void SortEntityList(MyEntityList.MyEntitySortOrder selectedOrder, ref List<MyEntityList.MyEntityListInfoItem> items, bool invertOrder)
Parameters