Show / Hide Table of Contents

Class MyBBMemoryTarget

Inheritance
System.Object
MyBBMemoryValue
MyBBMemoryTarget
Namespace: VRage.Game
Assembly: VRage.Game.dll
Syntax
public class MyBBMemoryTarget : MyBBMemoryValue

Constructors

MyBBMemoryTarget()

Declaration
public MyBBMemoryTarget()

Fields

CompoundId

Declaration
public Nullable<ushort> CompoundId
Field Value
Type Description
System.Nullable<System.UInt16>

EntityId

Declaration
public Nullable<long> EntityId
Field Value
Type Description
System.Nullable<System.Int64>

Position

Declaration
public Nullable<Vector3D> Position
Field Value
Type Description
System.Nullable<Vector3D>

TargetType

Declaration
public MyAiTargetEnum TargetType
Field Value
Type Description
MyAiTargetEnum

TreeId

Declaration
public Nullable<int> TreeId
Field Value
Type Description
System.Nullable<System.Int32>

Properties

BlockPosition

Declaration
public Vector3I BlockPosition { get; }
Property Value
Type Description
Vector3I

VoxelPosition

Declaration
public Vector3I VoxelPosition { get; }
Property Value
Type Description
Vector3I

Methods

SetTargetCompoundBlock(ref MyBBMemoryTarget, Vector3I, Int64, UInt16)

Declaration
public static void SetTargetCompoundBlock(ref MyBBMemoryTarget target, Vector3I blockPosition, long entityId, ushort compoundId)
Parameters
Type Name Description
MyBBMemoryTarget target
Vector3I blockPosition
System.Int64 entityId
System.UInt16 compoundId

SetTargetCube(ref MyBBMemoryTarget, Vector3I, Int64)

Declaration
public static void SetTargetCube(ref MyBBMemoryTarget target, Vector3I blockPosition, long gridEntityId)
Parameters
Type Name Description
MyBBMemoryTarget target
Vector3I blockPosition
System.Int64 gridEntityId

SetTargetEntity(ref MyBBMemoryTarget, MyAiTargetEnum, Int64, Nullable<Vector3D>)

Declaration
public static void SetTargetEntity(ref MyBBMemoryTarget target, MyAiTargetEnum targetType, long entityId, Nullable<Vector3D> position = null)
Parameters
Type Name Description
MyBBMemoryTarget target
MyAiTargetEnum targetType
System.Int64 entityId
System.Nullable<Vector3D> position

SetTargetPosition(ref MyBBMemoryTarget, Vector3D)

Declaration
public static void SetTargetPosition(ref MyBBMemoryTarget target, Vector3D position)
Parameters
Type Name Description
MyBBMemoryTarget target
Vector3D position

SetTargetTree(ref MyBBMemoryTarget, Vector3D, Int64, Int32)

Declaration
public static void SetTargetTree(ref MyBBMemoryTarget target, Vector3D treePosition, long entityId, int treeId)
Parameters
Type Name Description
MyBBMemoryTarget target
Vector3D treePosition
System.Int64 entityId
System.Int32 treeId

SetTargetVoxel(ref MyBBMemoryTarget, Vector3I, Int64)

Declaration
public static void SetTargetVoxel(ref MyBBMemoryTarget target, Vector3I voxelPosition, long entityId)
Parameters
Type Name Description
MyBBMemoryTarget target
Vector3I voxelPosition
System.Int64 entityId

UnsetTarget(ref MyBBMemoryTarget)

Declaration
public static void UnsetTarget(ref MyBBMemoryTarget target)
Parameters
Type Name Description
MyBBMemoryTarget target
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾