Table of Contents

Interface IUserDataDescriptor

Namespace
MoonSharp.Interpreter.Interop
Assembly
Assembly-CSharp.dll
public interface IUserDataDescriptor
Extension Methods

Properties

Name

string Name { get; }

Property Value

string

Type

Type Type { get; }

Property Value

Type

Methods

AsString(object)

string AsString(object obj)

Parameters

obj object

Returns

string

Index(Script, object, DynValue, bool)

DynValue Index(Script script, object obj, DynValue index, bool isDirectIndexing)

Parameters

script Script
obj object
index DynValue
isDirectIndexing bool

Returns

DynValue

IsTypeCompatible(Type, object)

bool IsTypeCompatible(Type type, object obj)

Parameters

type Type
obj object

Returns

bool

MetaIndex(Script, object, string)

DynValue MetaIndex(Script script, object obj, string metaname)

Parameters

script Script
obj object
metaname string

Returns

DynValue

SetIndex(Script, object, DynValue, DynValue, bool)

bool SetIndex(Script script, object obj, DynValue index, DynValue value, bool isDirectIndexing)

Parameters

script Script
obj object
index DynValue
value DynValue
isDirectIndexing bool

Returns

bool