C# 클래스 EssentialsPlugin.Utility.Entity

파일 보기 프로젝트 열기: rexxar-tc/EssentialsPlugin

공개 메소드들

메소드 설명
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