static int get_RoomInfo(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            MyLib.CGPlayerCmd obj = (MyLib.CGPlayerCmd)o;
            MyLib.RoomInfo    ret = obj.RoomInfo;
            ToLua.PushSealed(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index RoomInfo on a nil value"));
        }
    }
    static int set_RoomInfo(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            MyLib.CGPlayerCmd obj  = (MyLib.CGPlayerCmd)o;
            MyLib.RoomInfo    arg0 = (MyLib.RoomInfo)ToLua.CheckObject(L, 2, typeof(MyLib.RoomInfo));
            obj.RoomInfo = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index RoomInfo on a nil value"));
        }
    }