Пример #1
0
    public static int get_m_terrainInfo(IntPtr l)
    {
        int result;

        try
        {
            ClientNullActorActChangeMapTerrain clientNullActorActChangeMapTerrain = (ClientNullActorActChangeMapTerrain)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, clientNullActorActChangeMapTerrain.m_terrainInfo);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ClientNullActorActChangeMapTerrain o = new ClientNullActorActChangeMapTerrain();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #3
0
    public static int set_m_position(IntPtr l)
    {
        int result;

        try
        {
            ClientNullActorActChangeMapTerrain clientNullActorActChangeMapTerrain = (ClientNullActorActChangeMapTerrain)LuaObject.checkSelf(l);
            GridPosition position;
            LuaObject.checkValueType <GridPosition>(l, 2, out position);
            clientNullActorActChangeMapTerrain.m_position = position;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #4
0
    public static int set_m_terrainInfo(IntPtr l)
    {
        int result;

        try
        {
            ClientNullActorActChangeMapTerrain clientNullActorActChangeMapTerrain = (ClientNullActorActChangeMapTerrain)LuaObject.checkSelf(l);
            ConfigDataTerrainInfo terrainInfo;
            LuaObject.checkType <ConfigDataTerrainInfo>(l, 2, out terrainInfo);
            clientNullActorActChangeMapTerrain.m_terrainInfo = terrainInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }