C# Класс EssentialsPlugin.Utility.Entity

Показать файл Открыть проект

Открытые методы

Метод Описание
CalculateMass ( IMyEntity entity ) : float
CheckForIntersection ( Dictionary testList, List beaconList, int &intersectElement ) : bool
CheckOwnership ( IMyCubeBlock entity, long playerId ) : System.Boolean
GetBlockEntityPosition ( IMyCubeBlock entity ) : Vector3D
GetBoundingBox ( IMyCubeGrid entity ) : OrientedBoundingBoxD
GetBoundingBox ( List cubeList ) : OrientedBoundingBoxD
GetDistanceBetweenGridAndPlayer ( IMyCubeGrid grid, IMyPlayer player, double &distance ) : bool
GetDistanceBetweenPointAndPlayer ( Vector3D point, IMyPlayer player, double &distance ) : bool
GreaterThan ( Vector3D v, Vector3D container ) : System.Boolean

Описание методов

CalculateMass() публичный статический Метод

public static CalculateMass ( IMyEntity entity ) : float
entity IMyEntity
Результат float

CheckForIntersection() публичный статический Метод

public static CheckForIntersection ( Dictionary testList, List beaconList, int &intersectElement ) : bool
testList Dictionary
beaconList List
intersectElement int
Результат bool

CheckOwnership() публичный статический Метод

public static CheckOwnership ( IMyCubeBlock entity, long playerId ) : System.Boolean
entity IMyCubeBlock
playerId long
Результат System.Boolean

GetBlockEntityPosition() публичный статический Метод

public static GetBlockEntityPosition ( IMyCubeBlock entity ) : Vector3D
entity IMyCubeBlock
Результат Vector3D

GetBoundingBox() публичный статический Метод

public static GetBoundingBox ( IMyCubeGrid entity ) : OrientedBoundingBoxD
entity IMyCubeGrid
Результат OrientedBoundingBoxD

GetBoundingBox() публичный статический Метод

public static GetBoundingBox ( List cubeList ) : OrientedBoundingBoxD
cubeList List
Результат OrientedBoundingBoxD

GetDistanceBetweenGridAndPlayer() публичный статический Метод

public static GetDistanceBetweenGridAndPlayer ( IMyCubeGrid grid, IMyPlayer player, double &distance ) : bool
grid IMyCubeGrid
player IMyPlayer
distance double
Результат bool

GetDistanceBetweenPointAndPlayer() публичный статический Метод

public static GetDistanceBetweenPointAndPlayer ( Vector3D point, IMyPlayer player, double &distance ) : bool
point Vector3D
player IMyPlayer
distance double
Результат bool

GreaterThan() публичный статический Метод

public static GreaterThan ( Vector3D v, Vector3D container ) : System.Boolean
v Vector3D
container Vector3D
Результат System.Boolean