Class ProxyUserDataDescriptor
- Namespace
- MoonSharp.Interpreter.Interop
- Assembly
- Assembly-CSharp.dll
public sealed class ProxyUserDataDescriptor : IUserDataDescriptor
- Inheritance
-
ProxyUserDataDescriptor
- Implements
-
- Inherited Members
-
- Extension Methods
-
Properties
InnerDescriptor
public IUserDataDescriptor InnerDescriptor { get; }
Property Value
- IUserDataDescriptor
Name
public string Name { get; }
Property Value
- string
Type
public Type Type { get; }
Property Value
- Type
Methods
AsString(object)
public string AsString(object obj)
Parameters
obj object
Returns
- string
Index(Script, object, DynValue, bool)
public DynValue Index(Script script, object obj, DynValue index, bool isDirectIndexing)
Parameters
script Script
obj object
index DynValue
isDirectIndexing bool
Returns
- DynValue
IsTypeCompatible(Type, object)
public bool IsTypeCompatible(Type type, object obj)
Parameters
type Type
obj object
Returns
- bool
public DynValue MetaIndex(Script script, object obj, string metaname)
Parameters
script Script
obj object
metaname string
Returns
- DynValue
SetIndex(Script, object, DynValue, DynValue, bool)
public 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