AGS.Plugin.Lua.LuaCodeDom.LuaExpression.MakeIndex C# (CSharp) Method

MakeIndex() public method

public MakeIndex ( string index ) : LuaExpression
index string
return LuaExpression
        public LuaExpression MakeIndex(string index)
        {
            return new Indexing(this, index);
        }

Usage Example

Beispiel #1
0
        static LuaBitLibrary()
        {
            Bit = new LuaExpression.GlobalAccess("bit");
            Bit_LShift = Bit.MakeIndex("lshift");
            Bit_RShift = Bit.MakeIndex("rshift");
            Bit_BXor = Bit.MakeIndex("bxor");
            Bit_BAnd = Bit.MakeIndex("band");
            Bit_BOr = Bit.MakeIndex("bor");

            Bit_LShift.ReturnType = LuaValueType.Integer;
        }
All Usage Examples Of AGS.Plugin.Lua.LuaCodeDom.LuaExpression::MakeIndex