Wobbly Life Mod SDK
 
Loading...
Searching...
No Matches
ModWobblyLife.IModGrabInteract Interface Reference

An interface for grabbing callbacks. More...

Inheritance diagram for ModWobblyLife.IModGrabInteract:
ModWobblyLife.IModGrabbable ModWobblyLife.ModGrabInteract

Public Member Functions

void OnPlayerArmGrab (ModPlayerCharacter character, ModRagdollHandJoint handJoint)
 Called when player grabs this object Called on Server.
 
void OnPlayerArmRelease (ModPlayerCharacter character, ModRagdollHandJoint handJoint)
 Called when player releases this object Called on Server.
 
- Public Member Functions inherited from ModWobblyLife.IModGrabbable
bool IsGrabbable ()
 Whether this object is grabbable or not.
 

Detailed Description

An interface for grabbing callbacks.

Member Function Documentation

◆ OnPlayerArmGrab()

void ModWobblyLife.IModGrabInteract.OnPlayerArmGrab ( ModPlayerCharacter  character,
ModRagdollHandJoint  handJoint 
)

Called when player grabs this object Called on Server.

Parameters
characterThe Character grabbing this
handJointWhich hand they are using to grab it

Implemented in ModWobblyLife.ModGrabInteract.

◆ OnPlayerArmRelease()

void ModWobblyLife.IModGrabInteract.OnPlayerArmRelease ( ModPlayerCharacter  character,
ModRagdollHandJoint  handJoint 
)

Called when player releases this object Called on Server.

Parameters
characterThe Character grabbing this
handJointWhich hand they are using to grab it

Implemented in ModWobblyLife.ModGrabInteract.