C# Класс LuaInterface.ObjectTranslator

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
objects object>.Dictionary
objectsBackMap int>.Dictionary

Открытые методы

Метод Описание
ObjectTranslator ( LuaInterface.Lua interpreter, IntPtr luaState ) : System
pushError ( IntPtr luaState, string msg ) : int

Приватные методы

Метод Описание
FindType ( string className ) : Type
IsILua ( object o ) : bool
addObject ( object obj ) : int
collectObject ( int udata ) : void

Given the Lua int ID for an object remove it from our maps

collectObject ( object o, int udata ) : void

Given an object reference, remove it from our maps

createBaseClassMetatable ( IntPtr luaState ) : void
createClassMetatable ( IntPtr luaState ) : void
createFunctionMetatable ( IntPtr luaState ) : void
createIndexingMetaFunction ( IntPtr luaState ) : void
createLuaObjectList ( IntPtr luaState ) : void
ctype ( IntPtr luaState ) : int
enumFromInt ( IntPtr luaState ) : int
getAsType ( IntPtr luaState, int stackPos, Type paramType ) : object
getConstructorSignature ( IntPtr luaState ) : int
getFunction ( IntPtr luaState, int index ) : LuaFunction
getMethodSignature ( IntPtr luaState ) : int
getNetObject ( IntPtr luaState, int index ) : object
getObject ( IntPtr luaState, int index ) : object
getRawNetObject ( IntPtr luaState, int index ) : object
getTable ( IntPtr luaState, int index ) : LuaTable
getUserData ( IntPtr luaState, int index ) : LuaUserData
importType ( IntPtr luaState ) : int
loadAssembly ( IntPtr luaState ) : int
matchParameters ( IntPtr luaState, MethodBase method, MethodCache &methodCache ) : bool
popValues ( IntPtr luaState, int oldTop ) : object[]
popValues ( IntPtr luaState, int oldTop, Type popTypes ) : object[]
push ( IntPtr luaState, object o ) : void
pushFunction ( IntPtr luaState, LuaCSFunction func ) : void
pushNewObject ( IntPtr luaState, object o, int index, string metatable ) : void
pushObject ( IntPtr luaState, object o, string metatable ) : void
pushType ( IntPtr luaState, Type t ) : void
registerTable ( IntPtr luaState ) : int
returnValues ( IntPtr luaState, object returnValues ) : int
setGlobalFunctions ( IntPtr luaState ) : void
tableToArray ( object luaParamValue, Type paramArrayType ) : Array
throwError ( IntPtr luaState, object e ) : void
typeOf ( IntPtr luaState, int idx ) : Type
unregisterTable ( IntPtr luaState ) : int

Описание методов

ObjectTranslator() публичный Метод

public ObjectTranslator ( LuaInterface.Lua interpreter, IntPtr luaState ) : System
interpreter LuaInterface.Lua
luaState System.IntPtr
Результат System

pushError() публичный Метод

public pushError ( IntPtr luaState, string msg ) : int
luaState IntPtr
msg string
Результат int

Описание свойств

objects публичное свойство

public Dictionary objects
Результат object>.Dictionary

objectsBackMap публичное свойство

public Dictionary objectsBackMap
Результат int>.Dictionary