Interface IClientPlayer
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
A client side player
public interface IClientPlayer : IPlayer
- Inherited Members
- Extension Methods
Properties
CameraMode
The players current camera mode
EnumCameraMode CameraMode { get; }
Property Value
CameraPitch
The cameras current pitch
float CameraPitch { get; set; }
Property Value
CameraRoll
float CameraRoll { get; set; }
Property Value
CameraYaw
float CameraYaw { get; set; }
Property Value
Methods
ShowChatNotification(string)
Writes given message to the players current chat group but doesn't send it to the server
void ShowChatNotification(string message)
Parameters
message
string
TriggerFpAnimation(EnumHandInteract)
Tells the engine to run a first person animtion
void TriggerFpAnimation(EnumHandInteract anim)
Parameters
anim
EnumHandInteract