Table of Contents

Interface IClientPlayer

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll

A client side player

public interface IClientPlayer : IPlayer
Inherited Members

Properties

CameraMode

The players current camera mode

EnumCameraMode CameraMode { get; }

Property Value

EnumCameraMode

CameraPitch

The cameras current pitch

float CameraPitch { get; set; }

Property Value

float

CameraRoll

float CameraRoll { get; set; }

Property Value

float

CameraYaw

float CameraYaw { get; set; }

Property Value

float

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