Table of Contents

Class Caller

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class Caller
Inheritance
Caller
Inherited Members

Fields

CallerPrivileges

public string[] CallerPrivileges

Field Value

string[]

CallerRole

public string CallerRole

Field Value

string

FromChatGroupId

public int FromChatGroupId

Field Value

int

Pos

public Vec3d Pos

Field Value

Vec3d

Type

public EnumCallerType Type

Field Value

EnumCallerType

Properties

Entity

public Entity Entity { get; set; }

Property Value

Entity

Player

public IPlayer Player { get; set; }

Property Value

IPlayer

Methods

GetName()

public string GetName()

Returns

string

GetRole(ICoreServerAPI)

public IPlayerRole GetRole(ICoreServerAPI sapi)

Parameters

sapi ICoreServerAPI

Returns

IPlayerRole

HasPrivilege(string)

public bool HasPrivilege(string privilege)

Parameters

privilege string

Returns

bool