Interface IMyHandToolComponent
Assembly: Sandbox.Game.dll
public interface IMyHandToolComponent
Methods
Declaration
Declaration
string GetStateForTarget(MyEntity targetEntity, uint shapeKey)
Parameters
Type |
Name |
Description |
MyEntity |
targetEntity |
|
System.UInt32 |
shapeKey |
|
Returns
Type |
Description |
System.String |
|
Declaration
bool Hit(MyEntity entity, MyHitInfo hitInfo, uint shapeKey, float efficiency)
Parameters
Type |
Name |
Description |
MyEntity |
entity |
|
MyHitInfo |
hitInfo |
|
System.UInt32 |
shapeKey |
|
System.Single |
efficiency |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
void OnControlAcquired(MyCharacter owner)
Parameters
Type |
Name |
Description |
Sandbox.Game.Entities.Character.MyCharacter |
owner |
|
Declaration
Declaration
Declaration